Ben Lerner

Results 261 comments of Ben Lerner

Ok. Sounds like an easy first issue for a student to work on?

It is; I'll transfer the issue.

No motion on this in a year, so I wrote up a merge-sort implementation for lists. Note that I did _not_ replace the existing implementation of `sort` and `sort-by`, but...

No, it's on horizon so far.

I don't like those names; to me, `substring-at` should take a string and a number and return the substring at that index (which then begs the question of the _length_...

"This" is ambiguous -- do you mean your proposed naming convention (-at-opt and -at-exn) or mine (-find-index and -get-index)?

I'm closing this PR as obsolete (and also much too big and conflicting to merge cleanly anymore). There appear to be three commits that were relevant: - https://github.com/brownplt/code.pyret.org/pull/579/commits/ef460e37c4ff3fbe90620c7797b68f06e00feddc, which is...

This seems like the wrong fix to me, or at least, is too stringent. I suspect you want `white-space: pre-wrap`, since you want text to look like well-formatted text, not...

When you generate labels, are they _strings_, or can they be _DOM nodes_? If the latter, then generate `{the string label}`, so you can trigger off of that...