Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Nov 8, 2016
1 parent a5ccf42 commit bba62fb
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
**Note**: Gaps between patch versions are faulty/broken releases.
**Note**: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.

## 0.2.3

- **New Feature**
- `Foldable`: add default `foldMap` implementation (@gcanti)
- `ChainRec` (@gcanti)
- `Yoneda` (@gcanti)

## 0.2.2

- **New Feature**
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@

The idea (faking higher kinded types in Flow) is based on the paper [Lightweight higher-kinded polymorphism](https://www.cl.cam.ac.uk/~jdy22/papers/lightweight-higher-kinded-polymorphism.pdf) and [elm-brands](https://github.com/joneshf/elm-brands).

- `Semigroup`
- `Monoid`
- `Functor`
- `Applicative`
- `Monad`
- `Foldable`
- `Traversable`
- `ChainRec`
- `Alternative`
- `Eff`
- `Arr`
- `Maybe`
- `Either`
- `Task`
- `State`
- `Writer`
- `Reader`

and many more...

# Example

```js
Expand Down Expand Up @@ -48,7 +68,6 @@ const f = (n) => n * 2
- [Higher kinded types with Flow](https://medium.com/@gcanti/higher-kinded-types-in-flow-275b657992b7)
- [Expressing side effects with the `Eff` monad](https://medium.com/@gcanti/the-eff-monad-implemented-in-flow-40803670c3eb)
- [Phantom types with Flow](https://medium.com/@gcanti/phantom-types-with-flow-828aff73232b)
- [Refinements with Flow](https://medium.com/@gcanti/refinements-with-flow-9c7eeae8478b)

# More examples

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flow-static-land",
"version": "0.2.2",
"version": "0.2.3",
"description": "Implementation of common algebraic types in JavaScript + Flow",
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion src/Foldable.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { HKT } from './HKT'
`Foldable` represents data structures which can be _folded_.
- `foldr` folds a structure from the right
- `foldr` folds a structure from the right (not implemented)
- `foldl` folds a structure from the left
- `foldMap` folds a structure by accumulating values in a `Monoid`
Expand Down

0 comments on commit bba62fb

Please sign in to comment.