Remove dead code
commitd3dc74325d80bb1930d450a19ccea942683aeee5
authorEvan Czaplicki <info@elm-lang.org>
dateSun 25 Aug 2013, 19:23 (13 years ago)
parent082e6a2
compiler/Parse/Expression.hs−5
@@ -235,8 +235,3 @@ typeAnnotation = TypeAnnotation <$> try start <*> Type.expr
235235
236236def :: IParser (Def t v)
237237def = typeAnnotation <|> assignExpr
238−
239−attempt f parser str =
240− case iParse parser "" str of
241− Right result -> f result
242− Left err -> error $ "Parse error at " ++ show err