Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data NValueF m r
- = NVConstant NAtom
- | NVStr Text
- | NVList [r]
- | NVSet (Map Text r)
- | NVFunction (Params r) (NValue m -> m r)
- | NVLiteralPath FilePath
- type NValue m = Fix (NValueF m)
- valueText :: Functor m => NValue m -> Text
- buildArgument :: Params (NValue m) -> NValue m -> NValue m
- evalExpr :: MonadFix m => NExpr -> NValue m -> m (NValue m)
- evalString :: Monad m => NValue m -> NString (NValue m -> m (NValue m)) -> m Text
- evalBinds :: Monad m => Bool -> NValue m -> [Binding (NValue m -> m (NValue m))] -> m (Map Text (NValue m))
- evalSelector :: Monad m => Bool -> NValue m -> NAttrPath (NValue m -> m (NValue m)) -> m [Text]