diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-04T10·59+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-04T10·59+0000 |
commit | bbfdd64741546863c2412d780097b1fe2457395e (patch) | |
tree | 198309fd082893cfbb24f5dd044e53d1723a2b6b /src/libexpr/primops.hh | |
parent | e3a50f7e25c552a78974fae684484d27a36b7c60 (diff) |
* Allow primops with more that 1 arguments.
Diffstat (limited to 'src/libexpr/primops.hh')
-rw-r--r-- | src/libexpr/primops.hh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/libexpr/primops.hh b/src/libexpr/primops.hh deleted file mode 100644 index 6b9722dac38e..000000000000 --- a/src/libexpr/primops.hh +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef __PRIMOPS_H -#define __PRIMOPS_H - -#include "eval.hh" - - -/* Load and evaluate an expression from path specified by the - 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 - attributes: `outPath' containing the primary output path of the - derivation; `drvPath' containing the path of the Nix expression; - and `type' set to `derivation' to indicate that this is a - 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); - -/* Boolean constructors. */ -Expr primTrue(EvalState & state); -Expr primFalse(EvalState & state); - -/* Return the null value. */ -Expr primNull(EvalState & state); - -/* Determine whether the argument is the null value. */ -Expr primIsNull(EvalState & state, Expr arg); - - -#endif /* !__PRIMOPS_H */ |