| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Hix.Monad
Documentation
mapAccumM :: (Traversable t, Monad m) => (s -> a -> m (s, b)) -> s -> t a -> m (s, t b) Source #
clientError :: Text -> M a Source #
fatalError :: Text -> M a Source #
runMLoggerWith :: (LogLevel -> Text -> IO ()) -> GlobalOptions -> M a -> IO (Either Error a) Source #
runMLogWith :: GlobalOptions -> M a -> IO ([Text], Either Error a) Source #
data AppResources Source #
Instances
| MonadIO M Source # | |
Defined in Hix.Data.Monad | |
| Applicative M Source # | |
| Functor M Source # | |
| Monad M Source # | |
| MonadCatch M Source # | |
Defined in Hix.Data.Monad | |
| MonadMask M Source # | |
Defined in Hix.Data.Monad Methods mask :: HasCallStack => ((forall a. M a -> M a) -> M b) -> M b # uninterruptibleMask :: HasCallStack => ((forall a. M a -> M a) -> M b) -> M b # generalBracket :: HasCallStack => M a -> (a -> ExitCase b -> M c) -> (a -> M b) -> M (b, c) # | |
| MonadThrow M Source # | |
Defined in Hix.Data.Monad Methods throwM :: (HasCallStack, Exception e) => e -> M a # | |
| HasField name AppResources a => HasField (name :: k) AppResProxy (M a) Source # | |
Defined in Hix.Data.Monad Methods getField :: AppResProxy -> M a # | |
| Show k => NLookup LookupFatal k v (Text -> M v) Source # | |