Permalink
Browse files

exprN takes Integer, not Int

Add type signature for expr0.

Both changes are necessary to compile.
  • Loading branch information...
bergey committed Feb 10, 2013
1 parent 2e9b23a commit 866da67b7d8c702f469f59b31297a9090c6821bc
Showing with 2 additions and 1 deletion.
  1. +2 −1 Graphics/Implicit/ExtOpenScad/Parser/Expr.hs
@@ -36,9 +36,10 @@ literal = ("literal" ?:) $
-- We represent the priority or 'fixity' of different types of expressions
-- by the Int argument
+expr0 :: GenParser Char st Expr
expr0 = exprN 0
-exprN :: Int -> GenParser Char st Expr
+exprN :: Integer -> GenParser Char st Expr
exprN n@12 =
literal

0 comments on commit 866da67

Please sign in to comment.