Skip to content

Commit e80b569

Browse files
committed
Derive Show for SMT result types
1 parent 4c10181 commit e80b569

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
@@ -191,7 +191,7 @@ finaliseSolver ctxt = do
191191
pattern IsUnknown :: unknown -> Either unknown b
192192
pattern IsUnknown u = Left u
193193

194-
newtype IsSat' a = IsSat' (Maybe a) deriving (Functor)
194+
newtype IsSat' a = IsSat' (Maybe a) deriving (Functor, Show)
195195

196196
type IsSatResult a = Either Text (IsSat' a)
197197

@@ -345,7 +345,7 @@ getModelFor ctxt ps subst
345345
mkComment :: Pretty (PrettyWithModifiers '[Decoded] a) => a -> BS.ByteString
346346
mkComment = BS.pack . Pretty.renderDefault . pretty' @'[Decoded]
347347

348-
newtype IsValid' = IsValid' Bool
348+
newtype IsValid' = IsValid' Bool deriving (Show)
349349

350350
type IsValidResult = Either (Maybe Text) IsValid'
351351

0 commit comments

Comments
 (0)