Created
February 17, 2017 17:43
-
-
Save zakaluka/564ab0c22e8e5c2735e2e0c824b1ad50 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 distance stloc endloc = (abs (stloc.x - endloc.x)) + (abs (stloc.y - endloc.y)) | |
let partOne strList = | |
strList |> moveAll |> fun x -> distance startPt x.pt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment