diff options
author | Li-yao Xia <lysxia@gmail.com> | 2021-11-09 13:24:18 -0500 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2022-04-25 19:13:06 +0000 |
commit | 360dc2bc2de3ddcb9c77ce85db7f257d95d9ce56 (patch) | |
tree | 1b63e6ccecac56503690afc7bc36059e8651f548 /libraries | |
parent | f2c08124b30eb87482dc0ed1d7199aa58950e309 (diff) | |
download | haskell-360dc2bc2de3ddcb9c77ce85db7f257d95d9ce56.tar.gz |
Fix rendering of liftA haddock
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/GHC/Base.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index cecd1f28ae..0eb2d28969 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: |