@@ -396,8 +396,8 @@ parserInfoModifiers =
396
396
unparseKoreSearchOptions :: KoreSearchOptions -> [String ]
397
397
unparseKoreSearchOptions (KoreSearchOptions _ bound searchType) =
398
398
[ " --search searchFile.kore"
399
- , maybeLimit " " (\ limit -> " --bound " <> show limit) bound
400
- , " --searchType " <> show searchType
399
+ , maybeLimit " " (\ limit -> unwords [ " --bound" , show limit] ) bound
400
+ , unwords [ " --searchType" , show searchType]
401
401
]
402
402
403
403
unparseKoreMergeOptions :: KoreMergeOptions -> [String ]
@@ -416,9 +416,11 @@ unparseKoreProveOptions
416
416
)
417
417
=
418
418
[ " --prove spec.kore"
419
- , " --spec-module " <> unpack moduleName
420
- , " --graph-search "
421
- <> if graphSearch == DepthFirst then " depth-first" else " breadth-first"
419
+ , unwords [" --spec-module" , unpack moduleName]
420
+ , unwords
421
+ [ " --graph-search"
422
+ , if graphSearch == DepthFirst then " depth-first" else " breadth-first"
423
+ ]
422
424
, if bmc then " --bmc" else " "
423
425
, maybe " " (" --save-proofs " <> ) saveProofs
424
426
]
@@ -455,12 +457,12 @@ koreExecSh
455
457
[ pure $ defaultDefinitionFilePath koreExecOptions
456
458
, patternFileName $> " --pattern pgm.kore"
457
459
, outputFileName $> " --output result.kore"
458
- , pure $ " --module " <> unpack (getModuleName mainModuleName)
460
+ , pure $ unwords [ " --module" , unpack (getModuleName mainModuleName)]
459
461
, (\ limit -> unwords [" --breadth" , show limit])
460
462
<$> maybeLimit Nothing Just breadthLimit
461
463
, (\ limit -> unwords [" --depth" , show limit])
462
464
<$> maybeLimit Nothing Just depthLimit
463
- , pure $ " --strategy " <> fst strategy
465
+ , pure $ unwords [ " --strategy" , fst strategy]
464
466
, rtsStatistics $>
465
467
unwords [" --rts-statistics" , defaultRtsStatisticsFilePath]
466
468
]
0 commit comments