-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Explain the compat workflow for functions #827
Conversation
I'm a bit confused because after stack([x, y])
Compat.stack([x, y])
@compat stack([x, y]) That said, it may make sense to clarify that |
Maybe but the only thing that is mentioned on the README is the macro using Compat: @compat
Exactly, that's the part I had not understood.
I'll modify the phrasing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok with me, but I'd really appreciate others' opinions.
(And sorry for the delay.)
No worries about the delay. As for the PR, I always welcome more opinions but I feel like it is a relatively low-stakes addition to the docs, so perhaps they are not necessary for merging? |
Something like this would indeed be helpful! Maybe stress even stronger that Compat typically doesn't define its own functions, but engages in heavy type piracy? Add a relevant warning to README or something. I recently spent some time to understand why Also #814. |
Sorry this has fallen through the cracks. No reason not to merge - even if the current phrasing might not be perfect, this PR certainly does not make things any worse. |
It may be silly but I spent quite some time trying to make
@compat stack([x, y])
work whereas all I needed wasCompat.stack([x, y])