simple-nix-0.1.0.4: Simple parsing/pretty printing for Nix expressions

Safe HaskellNone
LanguageHaskell2010

Nix.Expr

Synopsis

Documentation

toKwargs :: [(Name, Maybe NixExpr)] -> FuncArgs Source

Shortcut for a simple kwarg set.

isValidIdentifier :: Name -> Bool Source

Returns whether a string is a valid identifier.

renderPath :: [NixString] -> Text Source

Renders a path.

isTerm :: NixExpr -> Bool Source

A "term" is something which does not need to be enclosed in parentheses.