File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ instance monadTransParserT :: MonadTrans (ParserT s) where
122
122
123
123
-- | Set the consumed flag.
124
124
consume :: forall s m . Monad m => ParserT s m Unit
125
- consume = modify \(ParseState input position _) ->
126
- ParseState input position true
125
+ consume = modify \(ParseState input pos _) ->
126
+ ParseState input pos true
127
127
128
128
-- | Returns the current position in the stream.
129
129
position :: forall s m . Monad m => ParserT s m Position
@@ -135,4 +135,4 @@ fail message = failWithPosition message =<< position
135
135
136
136
-- | Fail with a message and a position.
137
137
failWithPosition :: forall m s a . Monad m => String -> Position -> ParserT s m a
138
- failWithPosition message position = throwError (ParseError message position )
138
+ failWithPosition message pos = throwError (ParseError message pos )
You can’t perform that action at this time.
0 commit comments