on master help sign in
Permit single line comments intermingled with types
commit5fd85cd9c548a8b7c6c009eb23b8ac8ac5ca1eba authorEvan Czaplicki <info@elm-lang.org> dateThu 15 Aug 2013, 23:29 (13 years ago) parentefd42c3
1 file changed+1−1
compiler/Parse/Type.hs+1−1
compiler/Parse/Type.hs+1−1
@@ -64,7 +64,7 @@ expr :: IParser T.Type
6464expr =
6565 do t1 <- app <|> term
6666 whitespace
67− arr <- optionMaybe arrow
67+ arr <- optionMaybe (try arrow)
6868 whitespace
6969 case arr of
7070 Just _ -> T.Lambda t1 <$> expr