You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to define this custom punctuation for my (yes, somewhat cursed) DSL:
custom_punctuation!(FMap, <$>);
but I get an error because the call to custom_punctuation_len! in the macro expansion doesn't have a rule matching the $ token. I don't know if this is intentional due to potential clashes with Rust's macro syntax, but I couldn't find a related issue and the docs don't seem to mention it, either. However, since Token![$]does work just fine, I feel like this should also work or at least have the documentation say it doesn't.
Thanks for this awesome library by the way, I really appreciate your work!
The text was updated successfully, but these errors were encountered:
I'm trying to define this custom punctuation for my (yes, somewhat cursed) DSL:
but I get an error because the call to
custom_punctuation_len!
in the macro expansion doesn't have a rule matching the$
token. I don't know if this is intentional due to potential clashes with Rust's macro syntax, but I couldn't find a related issue and the docs don't seem to mention it, either. However, sinceToken![$]
does work just fine, I feel like this should also work or at least have the documentation say it doesn't.Thanks for this awesome library by the way, I really appreciate your work!
The text was updated successfully, but these errors were encountered: