Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
List.Length
let length list =
List.fold
(fun acc _ -> acc+1)
0
list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment