1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 15:51:15 +02:00

* Canonicalise ASTs in `nix-instantiate --eval': remove position

info, sort attribute sets.
This commit is contained in:
Eelco Dolstra 2007-01-13 16:17:07 +00:00
parent 05879db628
commit f23dcdd603
7 changed files with 49 additions and 5 deletions

View file

@ -94,6 +94,11 @@ Expr substitute(const Substitution & subs, Expr e);
void checkVarDefs(const ATermMap & def, Expr e);
/* Canonicalise a Nix expression by sorting attributes and removing
location information. */
Expr canonicaliseExpr(Expr & e);
/* Create an expression representing a boolean. */
Expr makeBool(bool b);