typescript:TypeScript中的代数图实现

时间:2021-04-01 04:59:41
【文件属性】:
文件名称:typescript:TypeScript中的代数图实现
文件大小:61KB
文件格式:ZIP
更新时间:2021-04-01 04:59:41
algebra graph graphs fp algebraic TypeScript中的代数图实现 alga-ts是用于在TypeScript中进行图的代数构造和操纵的库。 这是和的TypeScript端口。 请参阅和相应的,以获取库背后的动机,基础理论和实现细节。 还有和Alexandre Moine的。 注意:请注意,该项目是WIP,因此请自行决定使用它。 安装 NPM提供了主要库alga-ts 。 由于它将用于类型较高的类型,因此请确保也安装它: npm install --save alga-ts fp-ts 用法 要开始使用alga-ts ,首先需要针对目标数据类型的给定获取其API的实例。 考虑以下示例: import { getStructEq , eqNumber , eqString } from 'fp-ts/lib/Eq' ; import { getInstanceFor } from 'alga-ts' ; inte
【文件预览】:
typescript-master
----.travis.yml(877B)
----package.json(1KB)
----tslint.json(2KB)
----tsconfig.production.json(171B)
----LICENSE(1KB)
----package-lock.json(225KB)
----src()
--------alga.test.ts(6KB)
--------alga.ts(11KB)
----tsconfig.json(709B)
----examples()
--------users.ts(747B)
--------index.ts(448B)
----.gitignore(2KB)
----README.md(3KB)

网友评论