Wing Hei Chan
Wing Hei Chan
In addition to `string?`, `label/p` should also accept `(-> string?)` as the `label` argument. This way, nonliteral labels can be produced only when failures are reported. This is most useful...
This patch provides a new `elpaca-thunk` macro that wraps the body directly in a thunk as opposed to an `eval`ed form. The main expansion logic is abstracted into a separate...
[Reported by gregr on Discourse](). A minimal program to reproduce the issue is ```racket #lang racket/base (require racket/splicing) (splicing-local [] (splicing-local [(define one 0) (define (two) one)] 3)) ``` which...
Optimization of `stop-before`/`stop-after`, as is now built into expansion of `for` clauses, does not bind the predicate expression to a variable. This can duplicate effects if the predicate expression happens...
On CS, `bitwise-bit-set?` and `bitwise-bit-field` functions don’t report contract violations as documented. Specifically, `bitwise-bit-set?` reports an expected `exact-integer?` (as opposed to `exact-nonnegative-integer?`) if given *non*–exact integer arguments, and an underlying...
Something that can be useful in veneers is to allow static operations to be partially overridden with fallback to the underlying representation’s dispatch. This pattern can be seen in `StringCI`,...
In Racket, `~@` can be used to splice repeated (under `...`) sequences, such as ```racket (require syntax/parse/pre) (syntax-parse #'(a 1 b 2 c 3 d 4) [((~seq a something-a b...
This is an old known bug, but probably I should open an issue so that someone can take a look at it. Nested attributes are currently handled directly in pattern...
Example: ``` block: let g :~ Group = 'foo bar baz' let new_g :~ Group: let (prefix, content, tail, suffix): g.group_source_properties() g.group_source_properties(prefix, content, tail, suffix) values( g.to_source_string(), new_g.to_source_string(), ) ```...
It would be useful if definition macros could communicate the defined names in some way. For example, consider a definition macro `pub` that chains to another definition(s) and makes all...