Open buzden opened 1 week ago
Implementation detail: external generators, then, should be also allowed to have abritrary orders, thus we need to either store the signature of a generator, or permutation of its arguments in order to call them (including information of whether those arguments are explicit or implicit).
Additional advancement of being able to do this is that we would be able to use as externals arbitrary user %hint
's, with any order of arguments.
Say, I have a type
and want to derive generator for it with all arguments given. I'd like to write something like
but now I'm beaten with an error that the order of arguments must be the same as in type, i.e. to be the following:
which is not logical, nor convenient. The first type of signature should be supported too.