Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type Point a = (a,a)
- -- Convert a String with points separated by spaces to a list of Points.
- toPoints :: String -> [(Float,Float)]
- toPoints s = splitOn " " s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement