Skip to content

Commit 42f950c

Browse files
committed
Derive Show for SMT result types
1 parent b6f8807 commit 42f950c

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
@@ -185,7 +185,7 @@ finaliseSolver ctxt = do
185185
pattern IsUnknown :: unknown -> Either unknown b
186186
pattern IsUnknown u = Left u
187187

188-
newtype IsSat' a = IsSat' (Maybe a) deriving (Functor)
188+
newtype IsSat' a = IsSat' (Maybe a) deriving (Functor, Show)
189189

190190
type IsSatResult a = Either Text (IsSat' a)
191191

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

342-
newtype IsValid' = IsValid' Bool
342+
newtype IsValid' = IsValid' Bool deriving (Show)
343343

344344
type IsValidResult = Either (Maybe Text) IsValid'
345345

0 commit comments

Comments
 (0)