Advertisement
Guest User

Untitled

a guest
Feb 17th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. let distance stloc endloc = (abs (stloc.x - endloc.x)) + (abs (stloc.y - endloc.y))
  2.  
  3. let partOne strList =
  4. strList |> moveAll |> fun x -> distance startPt x.pt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement