SHARE
TWEET

Untitled

a guest Feb 17th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top