mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
add docs and tests
This commit is contained in:
parent
6cc28c0589
commit
88c1ea30e4
3 changed files with 35 additions and 1 deletions
|
@ -1 +1 @@
|
|||
2188
|
||||
2216
|
||||
|
|
|
@ -26,6 +26,10 @@ let {
|
|||
(56088 / 123 / 2)
|
||||
(3 + 4 * const 5 0 - 6 / id 2)
|
||||
|
||||
(builtins.bitAnd 12 10) # 0b1100 & 0b1010 = 8
|
||||
(builtins.bitOr 12 10) # 0b1100 | 0b1010 = 14
|
||||
(builtins.bitXor 12 10) # 0b1100 ^ 0b1010 = 6
|
||||
|
||||
(if 3 < 7 then 1 else err)
|
||||
(if 7 < 3 then err else 1)
|
||||
(if 3 < 3 then err else 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue