Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mkUTC :: UTCTime -> Value
- mkUTC' :: UTCTime -> Text
- mkUTC_ :: UTCTime -> String
- parseUTC' :: Text -> Maybe UTCTime
- parseUTC_ :: String -> Maybe UTCTime
- (?!) :: Maybe a -> e -> Either e a
- (?!?) :: Either e a -> (e -> e') -> Either e' a
- data MergeResult a b
- = OnlyInLeft a
- | InBoth a b
- | OnlyInRight b
- mergeMaps :: Ord k => Map k a -> Map k b -> Map k (MergeResult a b)
- diffMaps :: (Eq a, Ord k) => Map k a -> Map k a -> Map k (MergeResult a a)
- matchMaps :: Ord k => Map k a -> Map k b -> Either (k, Either a b) (Map k (a, b))
Documentation
Utils for merging and diffing maps
data MergeResult a b Source #
OnlyInLeft a | |
InBoth a b | |
OnlyInRight b |