An educational pure functional programming library in TypeScript
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Format markdown tables in README

+21 -21
+21 -21
README.md
··· 164 164 165 165 ### Foundations 166 166 167 - | Category | Exports | 168 - |----------|---------| 169 - | **Brands** | `Branded`, `brand` | 170 - | **Refinements** | `Refined`, `refine`, `positive`, `nonNegative`, `normalized`, `integer` | 171 - | **Result** | `Result`, `Ok`, `Err`, `ok`, `err`, `mapResult`, `chainResult`, `unwrapOr`, `tryCatch` | 172 - | **Option** | `Option`, `Some`, `None`, `some`, `none`, `fromNullable`, `mapOption`, `getOrElse`, `flatMapOption` | 173 - | **Pattern Matching** | `match`, `matchOr`, `when`, `matchLiteral`, `matchResult`, `matchOption` | 174 - | **Arrays** | `Arr`, `arr`, `sort`, `sortNum`, `sortBy`, `map`, `filter`, `head`, `last`, `binarySearch` | 175 - | **Units** | `Quantity`, `meters`, `seconds`, `velocity`, `addQ`, `scaleQ` | 176 - | **Typestate** | `Entity`, `entity`, `transition` | 177 - | **Composition** | `pipe`, `flow`, `id`, `constant`, `flip`, `tap` | 178 - | **Guards** | `Guard`, `and`, `or`, `isString`, `isNumber`, `isBoolean` | 167 + | Category | Exports | 168 + |----------------------|------------------------------------------------------------------------------------------------------| 169 + | **Brands** | `Branded`, `brand` | 170 + | **Refinements** | `Refined`, `refine`, `positive`, `nonNegative`, `normalized`, `integer` | 171 + | **Result** | `Result`, `Ok`, `Err`, `ok`, `err`, `mapResult`, `chainResult`, `unwrapOr`, `tryCatch` | 172 + | **Option** | `Option`, `Some`, `None`, `some`, `none`, `fromNullable`, `mapOption`, `getOrElse`, `flatMapOption` | 173 + | **Pattern Matching** | `match`, `matchOr`, `when`, `matchLiteral`, `matchResult`, `matchOption` | 174 + | **Arrays** | `Arr`, `arr`, `sort`, `sortNum`, `sortBy`, `map`, `filter`, `head`, `last`, `binarySearch` | 175 + | **Units** | `Quantity`, `meters`, `seconds`, `velocity`, `addQ`, `scaleQ` | 176 + | **Typestate** | `Entity`, `entity`, `transition` | 177 + | **Composition** | `pipe`, `flow`, `id`, `constant`, `flip`, `tap` | 178 + | **Guards** | `Guard`, `and`, `or`, `isString`, `isNumber`, `isBoolean` | 179 179 180 180 ### Effect System 181 181 182 - | Category | Exports | 183 - |----------|---------| 184 - | **Types** | `Eff`, `Fiber`, `FiberId`, `Exit`, `FiberStatus` | 185 - | **Constructors** | `succeed`, `fail`, `sync`, `attempt`, `async`, `fromPromise` | 186 - | **Transformations** | `mapEff`, `flatMap`, `foldEff`, `catchAll` | 187 - | **Dependencies** | `access`, `accessEff`, `provide` | 188 - | **Concurrency** | `fork`, `join`, `interruptFiber`, `race`, `all` | 189 - | **Combinators** | `sleep`, `timeout`, `retry`, `repeatEff`, `tapEff` | 190 - | **Runners** | `runFiber`, `runPromise`, `runPromiseExit`, `runPromiseWith` | 182 + | Category | Exports | 183 + |---------------------|------------------------------------------------------------| 184 + | **Types** | `Eff`, `Fiber`, `FiberId`, `Exit`, `FiberStatus` | 185 + | **Constructors** | `succeed`, `fail`, `sync`, `attempt`, `async`, `fromPromise` | 186 + | **Transformations** | `mapEff`, `flatMap`, `foldEff`, `catchAll` | 187 + | **Dependencies** | `access`, `accessEff`, `provide` | 188 + | **Concurrency** | `fork`, `join`, `interruptFiber`, `race`, `all` | 189 + | **Combinators** | `sleep`, `timeout`, `retry`, `repeatEff`, `tapEff` | 190 + | **Runners** | `runFiber`, `runPromise`, `runPromiseExit`, `runPromiseWith` | 191 191 192 192 ## Examples 193 193