* Primops: baseNameOf, toString.
This commit is contained in:
parent
c8268ca991
commit
adf9a45469
4 changed files with 30 additions and 4 deletions
|
|
@ -145,6 +145,8 @@ Expr evalExpr2(EvalState & state, Expr e)
|
|||
string primop(s1);
|
||||
if (primop == "import") return primImport(state, e2);
|
||||
if (primop == "derivation") return primDerivation(state, e2);
|
||||
if (primop == "toString") return primToString(state, e2);
|
||||
if (primop == "baseNameOf") return primBaseNameOf(state, e2);
|
||||
else throw badTerm("undefined variable/primop", e1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue