mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
8 lines
154 B
Plaintext
8 lines
154 B
Plaintext
String/concat = @a @b
|
|
match a {
|
|
String/nil: b;
|
|
String/cons: (String/cons a.head (String/concat a.tail b))
|
|
}
|
|
|
|
main = (String/concat "ab" "cd")
|