Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for frules with keyword arguments #244

Open
oxinabox opened this issue Dec 7, 2023 · 1 comment · May be fixed by #266
Open

support for frules with keyword arguments #244

oxinabox opened this issue Dec 7, 2023 · 1 comment · May be fixed by #266

Comments

@oxinabox
Copy link
Member

oxinabox commented Dec 7, 2023

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

@oxinabox
Copy link
Member Author

oxinabox commented Dec 7, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant