1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 01:01:48 +02:00

* 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

@ -30,10 +30,6 @@ static Path searchPath(const Paths & searchDirs, const Path & relPath)
#if 0
static Expr evalExpr2(EvalState & state, Expr e)
{
/* Conditional. */
if (ATmatch(e, "If(<term>, <term>, <term>)", &e1, &e2, &e3)) {
}
/* Ad-hoc function for string matching. */
if (ATmatch(e, "HasSubstr(<term>, <term>)", &e1, &e2)) {
e1 = evalExpr(state, e1);