Ben Lerner
Ben Lerner
Well, there's good news and bad news. The good news is, I can fix the -1 error message so it matches the "a" error message. (I'll also fix a similar...
@jpolitz I think the above commit means this is fixed?
Starting names with an underscore seems like "not good Pyret style", so I don't like that. `e_log` doesn't look right either; Pyret tends to go for dashes rather than hyphens...
This is easy to do, _IF_ you're willing to limit it to lists of numbers or lists of strings. The only place where we care about number-ness is in the...
(Also note that I did _not_ generalize `mode-largest` or `mode-smallest` to work on strings; they're still numbers only.)
Pyret doesn't have warnings, currently: either something is bad enough that we have Strong Opinions about it (and make it an error that prevents the program from running), or we...
Reindenting on every keystroke is expensive and jarring: the lines will bounce around even more than they currently can do (e.g. if you have a variable named `end-something`, the indentation...
So I'll admit I'm very leery of any automatic Reindent-All commands, as a blanket concern, because of those multiline comments and strings: reindent on them _does not and cannot work...
@schanzer I do not see how Reindent-All-Always is going to affect that pain point. You _already have_ the lack of indentation (if `examples:` is misspelled), and you _already have_ the...