Wing Hei Chan

Results 32 issues of Wing Hei Chan

This is an issue specifically for tracking relatively *small* additions, such as convenience functions, forms, etc. If you feel that a certain nicety is currently missing in Rhombus, please raise...

Currently, multiple-value static infos live under `#%values`/`statinfo_meta.values_key`, but I think some aspects of them make them different than other genuine static info: - Static infos of different arity are incompatible,...

Consider something like ``` #lang rhombus/static def [n, ...]: for List (i: 0..3): i def [lst :: List, ...]: for List (i: 0..3): [i] [lst.remove(n), ...] ``` or ``` #lang...

I have two questions: 1. Should the subexpressions be evaluated whenever matching happens? 2. If yes, should `Any.of` have a short-circuiting behavior? The following program showcases the difference in behavior....

##### Checklist - [x] Bugfix - [x] tests included - [x] documentation ### Description of change This corrects some typos in “Treelists” section, and fixes a bug in `mutable-treelist-sort!` that...

*(Opening this for better visibility)* Specifically, [this line](https://github.com/racket/racket/blob/5246322ff1f2c9b57e85d60a6ddc3be13c2cb6cd/racket/collects/ffi/unsafe.rkt#L2287). I noticed this thanks to [this Discourse post](https://racket.discourse.group/t/using-pdf-read-package-to-extract-text-from-pdf-file/2685).

Recent experiment of deforestation in Qi (see for the context) points out that `define-inline` can be quite useful in a higher-order combinatory context, where the functions (serving as combinators) are...

feature request
performance

In my understanding, abnormal hooks should be named `-functions` as opposed to `-hook`. Would it be better if the name were changed to comply with this convention?

question
racket-hash-lang-mode

The `--package` option uses `pkg-directory`, which returns `#f` when no such package is installed. In turn, this triggers a contract violation from `simple-form-path`. For example, ``` $ resyntax analyze --package...

bug

Example: ```rust use jieba_rs::Jieba; fn main() { let mut jieba = Jieba::new(); jieba.add_word("", None, None); } ``` gives ``` thread 'main' panicked at /path/to/cedarwood-0.4.6/src/lib.rs:302:13: failed to insert zero-length key ```...