@@ -871,7 +871,8 @@ module Data.Function where
871871 -- | For example, given a function `height :: Person -> Number`, we can create a function which compares two people by height:
872872 -- |
873873 -- | ```purescript
874− -- | taller :: (>) `on` height
874+ -- | taller :: Person -> Person -> Boolean
875+ -- | taller = (>) `on` height
875876 -- | ```
876877 -- |
877878 on :: forall a b c. (b -> b -> c) -> (a -> b) -> a -> a -> c