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