Import BUtil also with, for the definition of class Num Nat
authorJoachim Breitner <mail@joachim-breitner.de>
Fri, 10 Sep 2010 14:40:57 +0000 (14:40 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 10 Sep 2010 14:40:57 +0000 (14:40 +0000)
SemSyn.hs

index e1d05b5..34b47ee 100644 (file)
--- a/SemSyn.hs
+++ b/SemSyn.hs
@@ -89,6 +89,7 @@ outputCode conf_ isShapify orig ast =
          SyntacticB18n ->
              if isHaskellify conf then 
                  vcat [ text "import Control.Monad" 
+                      , text "import BUtil"
                       , ppr (constructTypeDecl p2)
                       , ppr $ generateCodeBwd (orig, p1, p2, p3) ]
              else