VEC: simplify type signature of onPT

This commit is contained in:
hasufell 2014-12-14 18:02:09 +01:00
parent 3d7f2c743a
commit d2b51b7ad7
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 1 deletions

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