Diffractor.jl icon indicating copy to clipboard operation
Diffractor.jl copied to clipboard

support for frules with keyword arguments

Open oxinabox opened this issue 2 years ago • 1 comments

I wrote an frule with keyword arguments It doesn't look like diffractor is picking it up.

oxinabox avatar Dec 07 '23 07:12 oxinabox

Workaround:

Instead of writing frule((df, dx), ::typeof(f), x; kws...) I had to write frule((_, dkw, df, dx), ::typeof(Core.kwcall), kw, ::typeof(f), x)

oxinabox avatar Dec 07 '23 07:12 oxinabox