Browse Source

Quickly patch the docs; i'll figure out why haddock broke later (#3)

Quickly patch the docs; i'll figure out why haddock broke later

Co-authored-by: Alex Feldman-Crough <alex@fldcr.com>
Reviewed-on: #3
master
James Alexander Feldman-Crough 1 year ago
parent
commit
c1d9e8310f
  1. 3
      src/Data/Either/Valid.hs

3
src/Data/Either/Valid.hs

@ -13,8 +13,6 @@ module Data.Either.Valid
, valid
) where
-- | Like 'Either', but 'Applicative' and 'Alternative' instances require
-- the @e@ type parameter to admit a 'Monoid' instances.
import Data.Bifunctor (Bifunctor(..))
import Control.Applicative (Alternative(..))
@ -26,7 +24,6 @@ import Control.Applicative (Alternative(..))
--
-- Note: There are a /lot/ of packages that implement this data type, but
-- finding a well-maintained one with minimal dependencies proved difficult.
data Valid e a =
Invalid !e
| Valid !a

Loading…
Cancel
Save