Skip to content

Commit 8ac8cb4

Browse files
committed
Derive Show for SMT result types
1 parent f1d156f commit 8ac8cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

booster/library/Booster/SMT/Interface.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ finaliseSolver ctxt = do
183183
pattern IsUnknown :: unknown -> Either unknown b
184184
pattern IsUnknown u = Left u
185185

186-
newtype IsSat' a = IsSat' (Maybe a) deriving (Functor)
186+
newtype IsSat' a = IsSat' (Maybe a) deriving (Functor, Show)
187187

188188
type IsSatResult a = Either Text (IsSat' a)
189189

@@ -337,7 +337,7 @@ getModelFor ctxt ps subst
337337
mkComment :: Pretty (PrettyWithModifiers '[Decoded] a) => a -> BS.ByteString
338338
mkComment = BS.pack . Pretty.renderDefault . pretty' @'[Decoded]
339339

340-
newtype IsValid' = IsValid' Bool
340+
newtype IsValid' = IsValid' Bool deriving (Show)
341341

342342
type IsValidResult = Either (Maybe Text) IsValid'
343343

0 commit comments

Comments
 (0)