mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +03:00
arvo: add +en-case, hoon: remove +sloy
This commit is contained in:
parent
8ee9382e7b
commit
fdec9ebe93
@ -297,9 +297,17 @@
|
||||
?. ?=([@ @ @ *] p) ~
|
||||
?~ who=(slaw %p i.p) ~
|
||||
?~ des=?~(i.t.p (some %$) (slaw %tas i.t.p)) ~ :: XX +sym ;~(pose low (easy %$))
|
||||
?~ ved=(sloy i.t.t.p) ~
|
||||
?. ?=([%$ case] u.ved) ~
|
||||
`(unit beam)`[~ [`ship`u.who `desk`u.des `case`p.u.ved] t.t.t.p]
|
||||
?~ ved=(en-case i.t.t.p) ~
|
||||
`(unit beam)`[~ [`ship`u.who `desk`u.des `case`u.ved] t.t.t.p]
|
||||
::
|
||||
++ en-case
|
||||
~/ %en-case
|
||||
|= =knot
|
||||
^- (unit case)
|
||||
?^ num=(slaw %ud knot) `[%ud u.num]
|
||||
?^ wen=(slaw %da knot) `[%da u.wen]
|
||||
?~ lab=(slaw %tas knot) ~
|
||||
`[%tas u.lab]
|
||||
::
|
||||
++ en-omen
|
||||
|= [vis=view bem=beam]
|
||||
|
@ -5952,13 +5952,6 @@
|
||||
~
|
||||
[~ p.u.q.vex]
|
||||
::
|
||||
++ sloy
|
||||
|= txt=@ta ^- (unit coin)
|
||||
=/ maybe-da (rush txt ;~(pfix sig (cook year when:so)))
|
||||
?^ maybe-da
|
||||
`[%$ [%da u.maybe-da]]
|
||||
(slay txt)
|
||||
::
|
||||
++ smyt :: pretty print path
|
||||
|= bon=path ^- tank
|
||||
:+ %rose [['/' ~] ['/' ~] ~]
|
||||
|
Loading…
Reference in New Issue
Block a user