Skip to content

Commit

Permalink
chore: Update Readme with curried example
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Sep 28, 2016
1 parent 2b0420e commit f79e490
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -45,6 +45,10 @@ let results = Morphism(schema, dataToCrunch);
status: 'morphed'
}
*/

// Or in a curried way
let mapper = Morphism(schema);
let results = mapper(dataToCrunch);
```
## License

Expand Down

0 comments on commit f79e490

Please sign in to comment.