语法 func (arg...) 获取到的类型为 List
若要判断类型,使用标准库 std.value.type
[Feat] 标准库 std.io std.value 实现,提供print,read等函数
详见 Library/std 实现
[Impl] 分离 builtin value 和 function注册
7 lines
105 B
Plaintext
7 lines
105 B
Plaintext
/*
|
|
Official Module `std`
|
|
Library/std/std.fig
|
|
*/
|
|
|
|
import io; // link std.io
|
|
import value; // link std.type |