文宇祥

Results 151 comments of 文宇祥

It looks like the guard chain is compiled to ternary expression chain. So step over not works. This might not easy to fix, but there's a workaround: You can use...

Yes, it's possible. But it needs lots work to do.

The architecture is already designed to allow adding time-travel feature easily: - `Controller.t` is the corresponding of `checkpoint` in ocamldebug. - By changing `c: Controller.t` field in `Debugger.t`, can do...

How about ```rust fn Iter::zipWith[T1, T2](self: Iter[T1], seq: Unit -> Option[T2]) -> Iter[T1, T2] ```

"promote" I mean host the source code of the package in "moonbitlang/core" or "moonbitlang/x" repo, but the package author is still the code owner. By doing this, the community naturally...

This is one of the case which show generic params of traits is useful.

related https://github.com/moonbitlang/core/pull/1084

> Do you have plans to export others staff? No, at least in near future. We only support export functions for now. If you faced name conflicts, you can use...

This will break a lot of code. Can we support `mut(priv)` so that mutability is only allowed in package level? /cc @bobzhang