* Primops: baseNameOf, toString.

This commit is contained in:
Eelco Dolstra 2003-11-02 16:31:35 +00:00
parent c8268ca991
commit adf9a45469
4 changed files with 30 additions and 4 deletions

View file

@ -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);
}