mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
6 lines
165 B
Plaintext
6 lines
165 B
Plaintext
String/len s = (String/len/go s 0)
|
|
String/len/go (String/Nil) x = x
|
|
String/len/go (String/Cons hd tl) x = (String/len/go tl (+ x 1))
|
|
|
|
main = (String/len "λx 🐼")
|