fp-stuff-in-js

所属分类:数据结构
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-01-05 10:31:14
上 传 者sh-1993
说明:  使用纯Javascript从函数编程实现常见函数和数据结构
(My implementations of common functions and data structures from functional programming using pure Javascript)

文件列表:
Either/ (0, 2020-05-03)
Either/either.js (1448, 2020-05-03)
Either/either.test.js (4966, 2020-05-03)
Identity/ (0, 2020-05-03)
Identity/identity.js (692, 2020-05-03)
Identity/identity.test.js (2807, 2020-05-03)
Maybe/ (0, 2020-05-03)
Maybe/maybe.js (1703, 2020-05-03)
Maybe/maybe.test.js (3943, 2020-05-03)
common-functions.test.js (2159, 2020-05-03)
common_functions.js (1418, 2020-05-03)
package-lock.json (159064, 2020-05-03)
package.json (616, 2020-05-03)

# fp-stuff-in-js My implementations of common functions and data structures from functional programming using pure Javascript Repo created with the purpose of studying functional programming using only Javascript. In this first moment it will be focused on implementing common FP data types and the functions to satisfy the categories in which they belong (Monad, Functors, Monoids, among others). Every instance of a category will be proven using its laws. In the current moment, the data types Identity, Maybe and Either are implemented with their respective instances of Monad. The next steps are the implementations of Functor, Applicative and Monoid categories to each of these three data types.

近期下载者

相关文件


收藏者