1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 23:13:14 +02:00

* Assertions.

* Logical operators (!, &&, ||, ->).
This commit is contained in:
Eelco Dolstra 2003-11-05 16:27:40 +00:00
parent e17e95a828
commit fa18f1f184
6 changed files with 77 additions and 16 deletions

View file

@ -222,3 +222,9 @@ Expr substitute(const ATermMap & subs, Expr e)
return e;
}
Expr makeBool(bool b)
{
return b ? ATmake("Bool(True)") : ATmake("Bool(False)");
}