mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +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 🐼")
|