Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal utilities and instances
Documentation
whenJust :: Applicative m => Maybe a -> (a -> m ()) -> m () Source #
leftToMaybe :: Either e a -> Maybe e Source #
rightToMaybe :: Either e a -> Maybe a Source #
justToEither :: Maybe e -> Either e () Source #
(<<*>>) :: (Applicative f, Applicative g) => f (g (a -> b)) -> f (g a) -> f (g b) infixl 4 Source #
Orphan instances
TextShow UTCTime Source # | |
(TextShow a, Unbox a) => TextShow (Vector a) Source # | |
(Show a, Fractional a) => TextShow (Colour a) Source # | |
(Show k, Show v) => TextShow (Map k v) Source # | |
(Show k, Show v) => TextShow (HashMap k v) Source # | |
Default (Map k v) Source # | |