Hi,

I'd like to call code_typed for all methods of a given generic function.

Currently, I loop through the method sigs in .env (`for m in f.env`, where
f is a function). However, this means that I sometimes get more than one
result from code_typed for a given `code_typed(f,m.sig)` call. (For
example, `code_typed(istext,(MIME,))` has 34 results, since it's the
catchall for all other MIME types. I only want a specific one of them.)

I considered passing in Anys to code_typed, to get a bunch/all of the
methods at once, but that requires a call for each number of args a
function has. I could do this by getting the possible argument counts from
`f.env`/`m.sig`, but it would be nicer if there's just some function I can
call on f. `code_typed` only takes a function and a type signature, not
just a function.

Thanks,
Leah

Reply via email to