This website requires JavaScript.
Explore
Help
Sign In
CS-480
/
lily
Watch
1
Star
0
Fork
You've already forked lily
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
15fda4ea97
lily
/
programs
/
length.lily
7 lines
104 B
Plaintext
Raw
Blame
History
defn length l = {
case l of {
Nil -> { 0 }
Cons(x, xs) -> { 1 + length xs }
}
}
Reference in New Issue
View Git Blame
Copy Permalink