fuse: print help text in generator

This commit is contained in:
raghu 2021-05-01 23:04:19 -04:00
parent 919450b0c6
commit baa06904f6
2 changed files with 7 additions and 2 deletions

View File

@ -8,5 +8,8 @@
::::
::
:- %say
|= [[now=@da eny=@uvJ bec=beak] [des=desk bas=beak con=(list [beak germ]) ~] ~]
[%kiln-fuse des bas con]
|= [[now=@da eny=@uvJ bec=beak] [arg=[?(~ [des=desk bas=beak con=(list [beak germ]) ~])]] ~]
:- %kiln-fuse
?~ arg
((slog (turn `wain`help-text |=(=@t leaf+(trip t)))) ~)
[des bas con]:arg

View File

@ -56,6 +56,7 @@
gim=?(%auto germ) ::
==
+$ kiln-fuse
$@ ~
$: syd=desk
bas=beak
con=(list [beak germ])
@ -388,6 +389,7 @@
::
++ poke-fuse
|= k=kiln-fuse
?~ k abet
abet:(emit [%pass /kiln/fuse/[syd.k] %arvo %c [%fuse syd.k bas.k con.k]])
::
++ poke-cancel