mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 18:43:46 +03:00
Add =model syntax.
This commit is contained in:
parent
a4538d4643
commit
212f58368f
@ -11191,6 +11191,23 @@
|
||||
(stag %bcts ;~(plug sym ;~(pfix ;~(pose fas tis) wyde)))
|
||||
scab
|
||||
==
|
||||
:- '='
|
||||
;~ pfix tis
|
||||
%+ sear
|
||||
|= hon/hoon
|
||||
^- (unit hoon)
|
||||
%+ bind
|
||||
|- ^- (unit term)
|
||||
?+ hon ~
|
||||
{$wing *} ?~(p.hon ~ ?^(i.p.hon ~ `i.p.hon))
|
||||
{$limb *} `p.hon
|
||||
{$dbug *} $(hon ~(open ap hon))
|
||||
{$tsgl *} $(hon ~(open ap hon))
|
||||
{$tsgr *} $(hon q.hon)
|
||||
==
|
||||
|=(term [%bcts +< hon])
|
||||
wyde
|
||||
==
|
||||
==
|
||||
::
|
||||
++ scat !:
|
||||
|
Loading…
Reference in New Issue
Block a user