Skip to content

Instantly share code, notes, and snippets.

@zakaluka
Created February 17, 2017 17:43
Embed
What would you like to do?
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