Created
July 1, 2018 08:31
-
-
Save MaximBazarov/19a979d15abe9e42cb9406170763b977 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Unicore | |
typealias ApplicationCore = Core<ApplicationState> | |
let core = ApplicationCore( | |
state: ApplicationState.initial, | |
mutate: mutate // pure function (ApplicationState, Action) -> ApplicationState | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment