Skip to content

Instantly share code, notes, and snippets.



Last active Oct 2, 2017
What would you like to do?
let rec size: 'a. 'a seq -> int = fun xs
| Nil -> 0
| Cons (_, xs) -> 1 + 2 * (size xs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.