git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #437 from sebastiaanvisser/master

Derive Alternative for the type checking monad.

commita9b0581eadc78c0dfe989d6b311c40eaf41058fa authorPhil Freeman <paf31@cantab.net> dateTue 10 Jun 2014, 09:28 (12 years ago) parent598c113cabaa80
1 file changed+1−1
src/Language/PureScript/TypeChecker/Monad.hs+1−1
src/Language/PureScript/TypeChecker/Monad.hs+1−1
@@ -136,7 +136,7 @@ data CheckState = CheckState {
136136-- The type checking monad, which provides the state of the type checker, and error reporting capabilities
137137--
138138newtype Check a = Check { unCheck :: StateT CheckState (Either ErrorStack) a }
139− deriving (Functor, Monad, Applicative, MonadPlus, MonadState CheckState, MonadError ErrorStack)
139+ deriving (Functor, Monad, Applicative, Alternative, MonadPlus, MonadState CheckState, MonadError ErrorStack)
140140
141141-- |
142142-- Get the current @Environment@