Skip to content

Commit

Permalink
0.21.7: Added link to example in the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed May 22, 2019
2 parents 738daeb + 89ae9c2 commit 0516f7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ someExpr[Mu[Expr]].cata(eval) // ⇒ 24
```

The `.embed` calls in `someExpr` wrap the nodes in the fixed point type. `embed` is generic, and we abstract `someExpr` over the fixed point type (only requiring that it has an instance of `Corecursive`), so we can postpone the choice of the fixed point as long as possible.

The [example directory](tests/shared/src/test/scala/matryoshka/example) will show you how to use other algebras and recursion schemes.

### Recursion Schemes

Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.21.6"
version in ThisBuild := "0.21.7"

0 comments on commit 0516f7c

Please sign in to comment.