-
-
Save isaacabraham/0e7a6e569450c3f80c3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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