Last active
August 29, 2015 14:01
-
-
Save pminten/fe672a3dbf1784c6d4aa to your computer and use it in GitHub Desktop.
Doesn't run, not sure how to make this work.
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
module Main | |
import Effect.State | |
import Effect.Exception | |
printInner : { [ STATE Int, EXCEPTION Int ] } Eff m () | |
printInner = return () | |
main : IO () | |
main = runInit ['St := 1, 'Ex := 1] $ do | |
'Ex :- ('St :- printInner) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment