This website requires JavaScript.
Explore
Help
Sign In
HigherOrderCO
/
Kind
Watch
1
Star
1
Fork
0
You've already forked Kind
mirror of
https://github.com/HigherOrderCO/Kind.git
synced
2024-08-17 15:30:31 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0ff051b497
Kind
/
book
/
List
/
sum.kind2
9 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
new tld syntax
2024-07-09 00:13:17 +03:00
sum
- xs: (List U48)
: U48
match xs {
++: (+ xs.head (sum xs.tail))
[]: 0
}
Reference in New Issue
Copy Permalink