mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
* Assertions.
* Logical operators (!, &&, ||, ->).
This commit is contained in:
parent
e17e95a828
commit
fa18f1f184
6 changed files with 77 additions and 16 deletions
|
@ -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)");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue