We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8324b4 commit c2c778cCopy full SHA for c2c778c
Data/These.hs
@@ -110,7 +110,7 @@ mergeThese = these id id
110
mergeTheseWith :: (a -> c) -> (b -> c) -> (c -> c -> c) -> These a b -> c
111
mergeTheseWith f g op t = mergeThese op $ mapThese f g t
112
113
--- | Construct these inside an Alternative.
+-- | Construct These inside an Alternative.
114
fromAlt :: Alternative f => f a -> f b -> f (These a b)
115
fromAlt x y = These <$> x <*> y <|> That <$> y <|> This <$> x
116
0 commit comments