Carl Mäsak

Results 649 comments of Carl Mäsak

I forgot to add, though maybe that's obvious, that I'd like this to be a kind of backend.

Here's a new attempt, highlighting what I *actually* go looking for during scope/frame/lookup debugging: which frames are declared where, and which variables are looked up in which frames. I attempted...

The successful implementation of this issue has been held up, at least partly, by the revelations in #212.

I've decided (reluctantly) that `replace` should be a method that does (at most) _one_ replacement, and `replaceAll` does all of them. As much as I'd like to avoid built-in many-word...

> When I find a moment I'll make sure to write up a version of what the format macro could look like with all the improvements added in. Here we...

> I've decided (reluctantly) that `replace` should be a method that does (at most) _one_ replacement, and `replaceAll` does all of them. As much as I'd like to avoid built-in...

I think this is the place to note that JavaScript seems to be [getting a `.matchAll` method](https://ponyfoo.com/articles/regular-expressions-post-es6).

> * A story for match objects (or similar) so that the `transform` sub has something to extract the number from. After looking at both [Python's `sub`](https://docs.python.org/3.7/library/re.html#re.sub) and [JavaScript's `replace`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace),...

> > I've decided (reluctantly) that `replace` should be a method that does (at most) _one_ replacement, and `replaceAll` does all of them. As much as I'd like to avoid...

First I was going to address the `my x = 5` part, which is neither an 𝔼 nor (arguably) an 𝕊. But there's another reason the above statement shouldn't be...