From ddffa0cd8da568c97011007fc6470c61cd4447e5 Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Tue, 21 Aug 2018 16:05:16 -0400 Subject: Fix ambiguous/out-of-scope Haddock identifiers This drastically cuts down on the number of Haddock warnings when making docs for `base`. Plus this means more actual links end up in the docs! Also fixed other small mostly markup issues in the documentation along the way. This is a docs-only change. Reviewers: hvr, bgamari, thomie Reviewed By: thomie Subscribers: thomie, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5055 --- libraries/base/Data/Either.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/base/Data/Either.hs') diff --git a/libraries/base/Data/Either.hs b/libraries/base/Data/Either.hs index 5f23a3edc2..58987a3910 100644 --- a/libraries/base/Data/Either.hs +++ b/libraries/base/Data/Either.hs @@ -164,7 +164,7 @@ instance Monad (Either e) where -- -- We create two values of type @'Either' 'String' 'Int'@, one using the -- 'Left' constructor and another using the 'Right' constructor. Then --- we apply \"either\" the 'length' function (if we have a 'String') +-- we apply \"either\" the 'Prelude.length' function (if we have a 'String') -- or the \"times-two\" function (if we have an 'Int'): -- -- >>> let s = Left "foo" :: Either String Int -- cgit v1.2.1