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