mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
doff: improve generator interface slightly
No longer need to give units as named arguments, instead just the bare values. The defaults get recognized as the "no filter" case.
This commit is contained in:
parent
2fe27bd8d7
commit
8033fe760e
@ -1,6 +1,8 @@
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
~
|
||||
[dude=(unit dude:gall) ship=(unit ship)]
|
||||
[dude=_`dude:gall`%$ ship=_`@p`(bex 128)]
|
||||
==
|
||||
[%helm-doff dude ship]
|
||||
=/ darg=(unit dude:gall) ?:(=(%$ dude) ~ `dude)
|
||||
=/ sarg=(unit ^ship) ?:(=((bex 128) ship) ~ `ship)
|
||||
[%helm-doff darg sarg]
|
||||
|
Loading…
Reference in New Issue
Block a user