Created
December 3, 2017 16:24
-
-
Save sslotsky/f336e6ce18b77bd47defc8b02e45ce57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { initialize, split } from "apothecary"; | |
const store = initialize({ n: 1 }); | |
const increment = step => split(n => n + step, "n"); | |
const decrement = step => split(n => n - step, "n"); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment