A small collection of Typescript experiments
- Workflows/Sagas -- musings on a workflow framework for microservices influenced by talk "Data Consistency in Microservice Using Sagas"
- Deferred Computations -- a number of utilities for deferring computations, including
Pr
, aPromise
-like data type for sync/async computations conforming toMonad
laws- Cat's-like
Eval
data structure for sync computations - various trampoliners with optional caching
- eDSL experiments -- various experiments with eDSLs, tagged and tagless, and transformations between them
- "Building eDSLs in functional TypeScript" workshop files -- implementation directed by Yuri Bogomolov's workshop
- Extendable eDSLs -- implementation of tagged extendable eDSLs for basic arithmetics along with some pitfalls. A more typesafe version than Arithmetics below
- Arithmetics -- a playground for tagged and tagless representation of basic arithmetics
- Handlers eDSL -- musings on eDSLs that have both creation-time and execution-time dependencies (e.g. DB operations that require a connection/client/transaction object for each operation); tldr: use
ReaderTaskEither