To verify my understanding, true or false: a `Get(...
# development
To verify my understanding, true or false: a
can only have exactly one argument? So if I want to yield to a rule that takes multiple arguments I have to bundle them in a datatype?
i think right now yes, but there's no reason that can't change. in particular we have
which is already used to specify multiple inputs at once, but that only works when doing a
as of right now -- i don't think there's any reason we can't allow using
in a
. i prototyped what this would be a bit ago but can't seem to find it
@happy-kitchen-89482: yes. until
@happy-kitchen-89482: but, as described in the readme update ( : which i'd love a shipit on!), Params also can come from a @rule's callers.
so if the other things that a rule needs are already in scope while you run, you don't need to echo/repeat them to rules you are consuming
cc @early-needle-54791: ^
shipit given 🙂
So in my use case I want to yield a new type ( a collection of requests). The consumer will also need to get a Platform from somewhere therefore that rule will have multiple params but I will only be yielding one from above in the graph. Will that work?