mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
Type printing.
This commit is contained in:
parent
18080fb306
commit
5c99c146a3
20
main/bin/type.hoon
Normal file
20
main/bin/type.hoon
Normal file
@ -0,0 +1,20 @@
|
||||
!:
|
||||
:: /=main=/bin/type/hoon
|
||||
::
|
||||
|= *
|
||||
|= ~
|
||||
:- ~ :- ~
|
||||
:- ^- (list slip)
|
||||
:~ [~ %$ %noun]
|
||||
==
|
||||
|= [now=@da pax=path nut=note]
|
||||
^- bowl
|
||||
:_ ~
|
||||
?+ -.nut !!
|
||||
%$
|
||||
?~ p.nut
|
||||
~
|
||||
%+ weld
|
||||
(turn q.u.p.nut |=(a=* [%la (sell p.u.p.nut a)]))
|
||||
`(list gift)`[[%la (skol p.u.p.nut)] ~]
|
||||
==
|
Loading…
Reference in New Issue
Block a user