Skip to content
Browse files

Remove concrete type from fix (fixes #2)

  • Loading branch information...
1 parent ff94fd7 commit c17f28bc4707592573a0b2cc8af97053a58dab67 @chrisdone committed Dec 8, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Main.hs
View
3 src/Main.hs
@@ -42,8 +42,7 @@ outputWith action typ code =
code
_ -> error "Unknown parser type."
-fix :: AppFixity ast => ast -> ast
-fix = fromMaybe (error "fix") . applyFixities baseFixities
+ where fix = fromMaybe (error "fix") . applyFixities baseFixities
instance Alternative ParseResult where
empty = ParseFailed undefined undefined

0 comments on commit c17f28b

Please sign in to comment.
Something went wrong with that request. Please try again.