Skip to content

Commit

Permalink
Fix minor typo in readme (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
vendethiel authored and jbgi committed Oct 4, 2016
1 parent 723cd21 commit c2af789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You can also ask Derive4J to generate null checks with:
public abstract String toString();
```
The safer solution would be to never use those methods and use 'type classes' instead, eg. [Equal](https://github.com/functionaljava/functionaljava/blob/master/core/src/main/java/fj/Equal.java), [Hash](https://github.com/functionaljava/functionaljava/blob/master/core/src/main/java/fj/Hash.java) and [Show](https://github.com/functionaljava/functionaljava/blob/master/core/src/main/java/fj/Show.java).
The project [Derive4J for Functiona Java](https://github.com/derive4j/derive4j-fj) aims at generating them automatically.
The project [Derive4J for Functional Java](https://github.com/derive4j/derive4j-fj) aims at generating them automatically.

## Pattern matching syntax
Now let's say that you want a function that returns the body size of a ```Request```. Without Derive4J you would write something like:
Expand Down

0 comments on commit c2af789

Please sign in to comment.