Jacqueline Firth
Jacqueline Firth
Yes, though that'd be the programmatic interface. I'm not sure what it will look like yet.
I'd rather read the `(hash 'body body 'event event 'comments (map ...))` expression. Fewer parens, fewer special characters, it's shorter, and it doesn't invite confusion about why this doesn't work:...
Could you give an example of a bug that this caused?
This rule [already exists](https://github.com/jackfirth/resyntax/blob/081a31d99096aacdaa8f782171254266379d6de6/default-recommendations/for-loop-shortcuts.rkt#L113-L117), but it doesn't fire when the function given to `map` isn't a lambda because there isn't a good candidate for a variable name to pick automatically....
It certainly looks terrible. Did it break the code too, or does it just look horrendous because it's a dozen lines of code to set a default in the function...
Adding a restriction on this rule to skip cases where the default value expression is multiple lines seems like a good fix then.
This could be solved by building a data structure containing all the information of DrRacket's binding arrows and passing that to each rule as part of the analysis. The current...
Yeah, good catch. Can you open a new issue for just that specific case? I think it should be fixable by looking at the identifiers and scopes in the replacement...
Interesting. All things being equal, I'd rather make Resyntax better at preserving comments automatically than give an option to show fixes that strip them, but I could see this being...
I've greatly improved Resyntax's ability to preserve comments automatically (see #247 and #243). There's still some gaps, but I believe most situations are fixable now. I've also added debug logging,...