diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index cecd1f28aedd8c4c6e19d6139de12efec6c54ffb..0eb2d28969978bf73e031f32a972ece0d6459181 100644 --- a/libraries/base/GHC/Base.hs +++ b/libraries/base/GHC/Base.hs @@ -739,10 +739,9 @@ class Functor f => Applicative f where -- | Lift a function to actions. -- Equivalent to Functor's `fmap` but implemented using only `Applicative`'s methods: --- `liftA f a = pure f <*> a` +-- @'liftA' f a = 'pure' f '<*>' a@ -- -- As such this function may be used to implement a `Functor` instance from an `Applicative` one. - -- -- ==== __Examples__ -- Using the Applicative instance for Lists: