Skip to content

azerum/ts-do-notation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing Haskell's do notation in TypeScript using generators

See main-*.ts files for examples with Maybe<T> and Promise<T>

I made this project for self-education purposes. Of course, later I found out that somebody already made this (see this Medium article for explanation)

This version generalizes the syntax for all monads by using higher-kinded types from fp-ts

Releases

No releases published

Packages

No packages published