Skip to content

renatovassao/lambda-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional concepts written in Typescript

References

Types

Monad Implementations

Tests

$ npm run test maybe

> lambda@1.0.0 test /home/renato/codes/nodejs/lambda-ts
> jest "maybe"

 PASS  test/maybe.ts
  Maybe monad laws testreturn a >>= k                  =  k a (8 ms)
    ✓ m        >>= return             =  m
    ✓ m        >>= (\x -> k x >>= h)  =  (m >>= k) >>= h (1 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        0.788 s, estimated 1 s
Ran all test suites matching /maybe/i

About

Functional concepts implmented in Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages