bbrk24

Results 116 comments of bbrk24

Here's the one use case where I had a long-ish tuple: https://github.com/bbrk24/spe-lib/blob/e1453e1f3595ca00394cb098bee90a26546e0358/src/PhonemeStringMatcher.ts#L246-L248 ```ts static subscripts = ( ['₀', '₁', '₂', '₃', '₄', '₅', '₆', '₇', '₈', '₉'] ) satisfies [string,...

I managed to get this working for the first case of `[number * 12]`, but not for the alternating case of `[(number, string) * 12]`: ```civet // Adapted from https://stackoverflow.com/a/50641073/6253337...

> in the same way that JSON is a subset of JavaScript. Minor correction: this isn't quite true, because [LS and PS](https://en.wikipedia.org/wiki/Newline#Unicode) are treated as line breaks by JavaScript (or...

In terms of practical use, I've less commonly needed that and more often something like `(x) -> () -> ...`. Would there also be a shorthand for that?

Here's a couple examples [1](https://github.com/bbrk24/Trilangle/blob/6696153a1c9e13c631d83776c332cef38ffafd3f/wasm/worker.coffee#L29) [2](https://github.com/bbrk24/Trilangle/blob/6696153a1c9e13c631d83776c332cef38ffafd3f/wasm/in.coffee#L97) of where I'm using the `(args) -> () -> ...` pattern. They both take some information, and return an action to be executed at...

It turns out the space in the double arrow isn't even necessary; both Civet and CoffeeScript accept `(x) =>=> x` and `(x) ->-> x`.

I'm going to say the C++ functions are good with the new "late_night_time" tests. The C functions still need testing, however.

Further testing reveals that this doesn't happen in Edge or Safari, so it likely is a Firefox-specific issue. Still not sure whether I can do anything about it.

Tagging this with "help wanted" because my laptop is out of commission at the moment. Some useful information for whoever implements this: - A comment starts with `;` and ends...

I also ran into this warning where it was unexpected, but in a different way to the original post: ```sh test ! -s "$errors" || { exit_code=$? cat "$errors" >&2...