From 360dc2bc2de3ddcb9c77ce85db7f257d95d9ce56 Mon Sep 17 00:00:00 2001 From: Li-yao Xia <lysxia@gmail.com> Date: Tue, 9 Nov 2021 13:24:18 -0500 Subject: [PATCH] Fix rendering of liftA haddock --- libraries/base/GHC/Base.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index cecd1f28aedd..0eb2d2896997 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: -- GitLab