aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-10-31 18:01:56 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-10-31 18:01:56 +0000
commitfa44e401a8ca5cddc2c5506984f0cd476e0b7d57 (patch)
tree8af89b26ceb3d48deaeb14ad173585c48d26ff44 /src/libexpr
parente007b50eb7ba070c039fc438f49a72bd248e1b5c (diff)
* Documented multi-user Nix.
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index b9ba3da64..2a96e25a8 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -789,6 +789,7 @@ static Expr prim_listToAttrs(EvalState & state, const ATermVector & args)
}
}
+
static Expr prim_removeAttrs(EvalState & state, const ATermVector & args)
{
ATermMap attrs;
@@ -803,6 +804,7 @@ static Expr prim_removeAttrs(EvalState & state, const ATermVector & args)
return makeAttrs(attrs);
}
+
/* Determine whether the argument is a list. */
static Expr prim_isAttrs(EvalState & state, const ATermVector & args)
{
@@ -810,6 +812,7 @@ static Expr prim_isAttrs(EvalState & state, const ATermVector & args)
return makeBool(matchAttrs(evalExpr(state, args[0]), list));
}
+
/*************************************************************
* Lists
*************************************************************/