let num = 100U // 32 位无符号整数的字面量需要后缀 U
在 wasm 后端导出返回值类型为 Unit 的函数时,之前导出函数的类型中会有 (result i32),现在 MoonBit 编译器会自动生成一个没有返回值 wrapper 函数,并将其进行导出
moonbitlang/core 的 API 一致性调整
forall/exist 和 all/any统一为all/`contains和member 统一为contains修复了 rename method 时候会丢失 type prefix 的 bug
增加了 try ... catch ... 表达式中的 match clause 中补全的功能
1
CEBBCAT 2024-06-24 19:46:55 +08:00
感觉像是推广呐,楼主下次发到 /go/promotions 呗
|
3
drymonfidelia 2024-06-24 22:11:19 +08:00 @Livid 这种把程序员、编程节点拿来发更新日志的行为应该禁止吗
|
4
moonbitlang OP @CEBBCAT 好呀谢谢建议
|
5
Livid MOD PRO |