File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
122122
123123--  | Set the consumed flag.
124124consume  ::  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 
127127
128128--  | Returns the current position in the stream.
129129position  ::  forall  s  m . Monad  m  =>  ParserT  s  m  Position 
@@ -135,4 +135,4 @@ fail message = failWithPosition message =<< position
135135
136136--  | Fail with a message and a position.
137137failWithPosition  ::  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