mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +03:00
hoon: compile +bool to constant
And use hoon-style boolean syntax instead of numberic literals. Co-authored-by: joemfb <joemfb@users.noreply.github.com>
This commit is contained in:
parent
317a8f66f3
commit
bf9d3752e0
@ -7181,7 +7181,10 @@
|
||||
::
|
||||
:::: 5a: compiler utilities
|
||||
::
|
||||
++ bool `type`(fork [%atom %f `0] [%atom %f `1] ~) :: make loobean
|
||||
++ bool :: make loobean
|
||||
^~ ^- type
|
||||
(fork [%atom %f `%.y] [%atom %f `%.n] ~)
|
||||
::
|
||||
++ cell :: make %cell type
|
||||
~/ %cell
|
||||
|= [hed=type tal=type]
|
||||
|
Loading…
Reference in New Issue
Block a user