hnix-0.5.2: Haskell implementation of the Nix language

Safe HaskellNone
LanguageHaskell2010

Nix.Normal

Documentation

newtype NormalLoop m Source #

Constructors

NormalLoop (NValue m) 
Instances
Show (NormalLoop m) Source # 
Instance details

Defined in Nix.Normal

Typeable m => Exception (NormalLoop m) Source # 
Instance details

Defined in Nix.Normal

normalFormBy :: forall e m. (Framed e m, MonadVar m, Typeable m) => (forall r. NThunk m -> (NValue m -> m r) -> m r) -> Int -> NValue m -> m (NValueNF m) Source #

normalForm :: (Framed e m, MonadVar m, Typeable m, MonadThunk (NValue m) (NThunk m) m) => NValue m -> m (NValueNF m) Source #

embed :: forall m. MonadThunk (NValue m) (NThunk m) m => NValueNF m -> m (NValue m) Source #

valueText :: forall e m. (Framed e m, MonadEffects m, Typeable m) => Bool -> NValueNF m -> m (Text, DList Text) Source #