Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class IsMap k m | m -> k where Source #
unsafeFromList :: [(k, a)] -> m a Source #
singleton :: k -> a -> m a Source #
lookup :: k -> m a -> Maybe a Source #
class (Eq k, Hashable k) => KeyOf k a | a -> k where Source #
Instances
traverseCollection :: (Monad m, MonadError GQLError m, KeyOf k b, FromList m map k b, Foldable t) => (a -> m b) -> t a -> m (map k b) Source #
fromLBS :: ByteString -> Text Source #
toLBS :: Text -> ByteString Source #
addPath :: MonadReader [a1] m => a1 -> m a2 -> m a2 Source #
startHistory :: HistoryT m a -> m a Source #
mergeConcat :: (Monad m, Merge m a, MonadError e m) => NonEmpty a -> m a Source #
insert :: (NameCollision e a, KeyOf k a, MonadError e m) => a -> SafeHashMap k a -> m (SafeHashMap k a) Source #
throwErrors :: MonadError e m => NonEmpty e -> m b Source #