diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-05T16·27+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-05T16·27+0000 |
commit | fa18f1f184ba89b3dfe592e77a276da42d326f42 (patch) | |
tree | 886b09a52f176178190f24c095192fac32b11bab /src/fix-ng/primops.hh | |
parent | e17e95a82892b31c8063f2ace1b21c79e82e6f6d (diff) |
* Assertions.
* Logical operators (!, &&, ||, ->).
Diffstat (limited to 'src/fix-ng/primops.hh')
-rw-r--r-- | src/fix-ng/primops.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fix-ng/primops.hh b/src/fix-ng/primops.hh index e48883b0bb01..775ec5568208 100644 --- a/src/fix-ng/primops.hh +++ b/src/fix-ng/primops.hh @@ -8,7 +8,6 @@ argument. */ Expr primImport(EvalState & state, Expr arg); - /* Construct (as a unobservable) side effect) a Nix derivation expression that performs the derivation described by the argument set. Returns the original set extended with the following @@ -18,14 +17,18 @@ Expr primImport(EvalState & state, Expr arg); derivation. */ Expr primDerivation(EvalState & state, Expr args); - /* Return the base name of the given string, i.e., everything following the last slash. */ Expr primBaseNameOf(EvalState & state, Expr arg); - /* Convert the argument (which can be a path or a uri) to a string. */ Expr primToString(EvalState & state, Expr arg); +/* Return the null value. */ +Expr primNull(EvalState & state, Expr arg); + +/* Determine whether the argument is the null value. */ +Expr primIsNull(EvalState & state, Expr arg); + #endif /* !__PRIMOPS_H */ |