mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Update Bool builtin a bit
This commit is contained in:
parent
d0fa8bf857
commit
c33b8a4fe3
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
||||||
api Bool provides Bool.*, not, equal, notEqual
|
interface Bool
|
||||||
|
exposes [ Bool, not, equal, notEqual ]
|
||||||
|
imports []
|
||||||
|
|
||||||
## Either #True or #False.
|
## Either #True or #False.
|
||||||
Bool := False, True
|
Bool : [ False, True ]
|
||||||
|
|
||||||
## Returns #False when given #True, and vice versa.
|
## Returns #False when given #True, and vice versa.
|
||||||
not : Bool -> Bool
|
not : Bool -> Bool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue