git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix issue with null binder parser
commit6ff127ed71a8428aa14d965c68a03acd88194f40 authorPhil Freeman <paf31@cantab.net> dateSun 21 Sep 2014, 21:25 (12 years ago) parent4b2c92e
1 file changed+1−1
src/Language/PureScript/Parser/Declarations.hs+1−1
src/Language/PureScript/Parser/Declarations.hs+1−1
@@ -394,7 +394,7 @@ parseNamedBinder = NamedBinder <$> (C.parseIdent <* C.indented <* C.lexeme (P.ch
394394 <*> (C.indented *> parseBinder)
395395
396396parseNullBinder :: P.Parsec String ParseState Binder
397−parseNullBinder = C.lexeme (P.char '_') *> P.notFollowedBy C.identLetter *> return NullBinder
397+parseNullBinder = C.lexeme (P.char '_' *> P.notFollowedBy C.identLetter) *> return NullBinder
398398
399399parseIdentifierAndBinder :: P.Parsec String ParseState (String, Binder)
400400parseIdentifierAndBinder = do