Skip to content

Commit 0f98d4b

Browse files
committed
Make the Show Op instance produce compilable output
1 parent ab5bf50 commit 0f98d4b

File tree

1 file changed

+10
-10
lines changed
  • test/Test/Database/LSMTree/Normal/StateMachine

1 file changed

+10
-10
lines changed

test/Test/Database/LSMTree/Normal/StateMachine/Op.hs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,16 @@ instance Show (Op a b) where
139139
_ -> go op
140140
where
141141
go :: Op x y -> String -> String
142-
go OpId = showString "id"
143-
go OpFst = showString "fst"
144-
go OpSnd = showString "snd"
145-
go OpLeft = showString "Left"
146-
go OpRight = showString "Right"
147-
go OpFromLeft = showString "FromLeft"
148-
go OpFromRight = showString "FromRight"
149-
go (OpComp g f) = go g . showString " . " . go f
150-
go OpLookupResults = showString "mapMaybe getBlobRef"
151-
go OpQueryResults = showString "mapMaybe getBlobRef"
142+
go OpId = showString "OpId"
143+
go OpFst = showString "OpFst"
144+
go OpSnd = showString "OpSnd"
145+
go OpLeft = showString "OpLeft"
146+
go OpRight = showString "OpRight"
147+
go OpFromLeft = showString "OpFromLeft"
148+
go OpFromRight = showString "OpFromRight"
149+
go (OpComp g f) = go g . showString " `OpComp` " . go f
150+
go OpLookupResults = showString "OpLookupResults"
151+
go OpQueryResults = showString "OpQueryResults"
152152

153153
{-------------------------------------------------------------------------------
154154
'HasBlobRef' class

0 commit comments

Comments
 (0)