Skip to content

Commit

Permalink
Use smtlib2 "user" variable names starting with "s" instead of "x".
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Huffman committed Apr 29, 2021
1 parent f8b1f34 commit 78856c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saw-core-sbv/src/Verifier/SAW/Simulator/SBV.hs
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ nextId :: StateT Int IO String
nextId = ST.get >>= (\s -> modify (+1) >> return ("x" ++ show s))

nextId' :: String -> StateT Int IO String
nextId' nm = nextId <&> \s -> s ++ "_" ++ nm
nextId' nm = ST.get >>= (\s -> modify (+1) >> return ("s" ++ show s ++ "_" ++ nm))

unzipMap :: Map k (a, b) -> (Map k a, Map k b)
unzipMap m = (fmap fst m, fmap snd m)
Expand Down

0 comments on commit 78856c2

Please sign in to comment.