Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Nix.Atoms
Documentation
Atoms are values that evaluate to themselves. This means that they appear in both the parsed AST (in the form of literals) and the evaluated form.
Minimal complete definition
convert :: (ToAtom prim, FromAtom t) => prim -> t Source #
Convert a primitive into something which can be made from a constant. So for example `convert 1 :: Expression`
atomToEnvString :: NAtom -> Text Source #
Conversion to environment variables for constants.