mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 11:45:45 +03:00
hoon: modernizes $tank and surrounding declarations
This commit is contained in:
parent
fb66dc10b5
commit
f6f7d2fab4
@ -1973,24 +1973,29 @@
|
||||
::
|
||||
cord
|
||||
+$ tint ?($r $g $b $c $m $y $k $w $~) :: text color
|
||||
++ tang (list tank) :: bottom-first error
|
||||
++ tank $~ [%leaf ~] ::
|
||||
$% {$leaf p/tape} :: printing formats
|
||||
$: $palm :: backstep list
|
||||
p/{p/tape q/tape r/tape s/tape} ::
|
||||
q/(list tank) ::
|
||||
== ::
|
||||
$: $rose :: flat list
|
||||
p/{p/tape q/tape r/tape} :: mid open close
|
||||
q/(list tank) ::
|
||||
== ::
|
||||
== ::
|
||||
++ tape (list @tD) :: utf8 string as list
|
||||
++ tour (list @c) :: utf32 clusters
|
||||
++ tarp {d/@ud h/@ud m/@ud s/@ud f/(list @ux)} :: parsed time
|
||||
++ term @tas :: ascii symbol
|
||||
++ wain (list cord) :: text lines
|
||||
++ wall (list tape) :: text lines
|
||||
+$ tang (list tank) :: bottom-first error
|
||||
::
|
||||
:: $tank: formatted print tree
|
||||
::
|
||||
:: %leaf: just a tape
|
||||
:: %palm: backstep list
|
||||
:: flat-mid, open, flat-open, flat-close
|
||||
:: %rose: flat list
|
||||
:: flat-mid, open, close
|
||||
::
|
||||
+$ tank
|
||||
$~ leaf/~
|
||||
$% [%leaf p=tape]
|
||||
[%palm p=(qual tape tape tape tape) q=(list tank)]
|
||||
[%rose p=(trel tape tape tape) q=(list tank)]
|
||||
==
|
||||
::
|
||||
+$ tape (list @tD) :: utf8 string as list
|
||||
+$ tour (list @c) :: utf32 clusters
|
||||
+$ tarp {d/@ud h/@ud m/@ud s/@ud f/(list @ux)} :: parsed time
|
||||
+$ term @tas :: ascii symbol
|
||||
+$ wain (list cord) :: text lines
|
||||
+$ wall (list tape) :: text lines
|
||||
::
|
||||
:::: 2p: serialization ::
|
||||
:: ::
|
||||
|
Loading…
Reference in New Issue
Block a user