mirror of
https://github.com/urbit/shrub.git
synced 2024-11-23 20:26:54 +03:00
dojo: mule calls to doccords
This commit is contained in:
parent
0119eef28d
commit
cdaae65786
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4d585474b6df173dc1c172f343192ac88bd3ced1a9c7cf6877402722ac139de
|
||||
size 5748201
|
||||
oid sha256:dfceb32839ee1444325c070397724d42773b352ae006da148e5bb98d408c4be5
|
||||
size 5924071
|
||||
|
@ -680,10 +680,15 @@
|
||||
++ dy-inspect
|
||||
|= [topics=(list term) sut=type]
|
||||
%+ dy-rash %mor
|
||||
=+ to-display=(find-item-in-type:dprint (flop topics) sut)
|
||||
?~ to-display
|
||||
[%tan [%leaf "Could not find help"]~]~
|
||||
[(print-item:dprint u.to-display)]
|
||||
=+ to-display=(mule |.((find-item-in-type:dprint (flop topics) sut)))
|
||||
?: ?=(%| -.to-display)
|
||||
[%tan [%leaf "Could not find help A"] p.to-display]~
|
||||
?~ p.to-display
|
||||
[%tan [%leaf "Could not find help B"]~]~
|
||||
=/ item (mule |.((print-item:dprint u.p.to-display)))
|
||||
?: ?=(%| -.item)
|
||||
[%tan [%leaf "Could not find help C"] p.item]~
|
||||
p.item
|
||||
::
|
||||
++ dy-show-type-noun
|
||||
|= a=type ^- tank
|
||||
|
Loading…
Reference in New Issue
Block a user