Bend/string.hvm
2024-01-10 15:05:23 +01:00

3 lines
106 B
Plaintext

(StrCons x (str_tup, str_len)) = (λ#String k (x, (str_tup k)), (+ 1 str_len))
Main = (StrCons 'a' "foo")