VEC: simplify type signature of onPT

This commit is contained in:
2014-12-14 18:02:09 +01:00
parent 3d7f2c743a
commit d2b51b7ad7

View File

@@ -143,7 +143,7 @@ sortedY xs =
-- |Apply a function on the coordinates of a point.
onPT :: ((Double, Double) -> (Double, Double)) -> PT -> PT
onPT :: (Coord -> Coord) -> PT -> PT
onPT f = p2 . f . unp2