taxon:用于记录 Javascript API 的简洁类型系统

时间:2024-08-04 22:47:59
【文件属性】:

文件名称:taxon:用于记录 Javascript API 的简洁类型系统

文件大小:1KB

文件格式:ZIP

更新时间:2024-08-04 22:47:59

分类群 taxon是一个简洁的类型系统,用于注释和记录 Javascript API。 基本 原语 any ( 'a' | 5 | [ ] ) int ( 123 ) real ( 3.0234 ) bool ( true ) string ( 'hello' ) none ( undefined ) void ( undefined ) null ( null ) nan ( NaN ) 内置函数 Array < Type> : [ ... values : Type ] Shallow < Type> : { ... properties : Type } Monad < Type> : ( arg : Type ) => Type Maybe < Type> : Type | none Tuple < A> : [ A , B , ... ,


【文件预览】:
taxon-master
----README.md(2KB)

网友评论