hnix-0.5.1: Haskell implementation of the Nix language

Safe HaskellNone
LanguageHaskell2010

Nix.Frames

Documentation

type Framed e m = (MonadReader e m, Has e Frames, MonadThrow m) Source #

withFrame :: forall s e m a. (Framed e m, Exception s) => NixLevel -> s -> m a -> m a Source #

throwError :: forall s e m a. (Framed e m, Exception s, MonadThrow m) => s -> m a Source #