Changed pshow on CompState (which caused errors) to plain show, by adding a Show instance to CompState
This commit is contained in:
parent
e20671e44f
commit
0a98db5295
|
@ -125,7 +125,7 @@ data CompState = CompState {
|
||||||
csUnifyId :: Int,
|
csUnifyId :: Int,
|
||||||
csWarnings :: [WarningReport]
|
csWarnings :: [WarningReport]
|
||||||
}
|
}
|
||||||
deriving (Data, Typeable)
|
deriving (Data, Typeable, Show)
|
||||||
|
|
||||||
emptyState :: CompState
|
emptyState :: CompState
|
||||||
emptyState = CompState {
|
emptyState = CompState {
|
||||||
|
|
|
@ -173,8 +173,8 @@ debugAST p
|
||||||
veryDebug $ pshow p
|
veryDebug $ pshow p
|
||||||
veryDebug $ "}}}"
|
veryDebug $ "}}}"
|
||||||
veryDebug $ "{{{ State"
|
veryDebug $ "{{{ State"
|
||||||
ps <- get
|
ps <- getCompState
|
||||||
veryDebug $ pshow ps
|
veryDebug $ show ps
|
||||||
veryDebug $ "}}}"
|
veryDebug $ "}}}"
|
||||||
|
|
||||||
-- | Transform the 'A.Only' items in a 'A.Structured'.
|
-- | Transform the 'A.Only' items in a 'A.Structured'.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user