Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. type Point a = (a,a)
  2.  
  3. -- Convert a String with points separated by spaces to a list of Points.
  4. toPoints :: String -> [(Float,Float)]
  5. toPoints s = splitOn " " s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement