Skip to content

Instantly share code, notes, and snippets.

@isaacabraham
Created February 15, 2016 23:49
Show Gist options
  • Save isaacabraham/0e7a6e569450c3f80c3a to your computer and use it in GitHub Desktop.
Save isaacabraham/0e7a6e569450c3f80c3a to your computer and use it in GitHub Desktop.
let calculateFormFold results =
([ 0 ], results)
||> List.fold(fun (output:int list) result ->
let result = (result |> convertToPoints) + output.Head
result :: output)
|> List.rev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment