mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 13:01:31 +03:00
changed the output of :sat so it is formatted by type
This commit is contained in:
parent
52e82226b5
commit
7d9376dfd5
@ -346,7 +346,7 @@ satCmd str = do
|
||||
Right (Just vs) -> do
|
||||
let solutions = map (map (pp . E.WithBase ppOpts)) vs
|
||||
io $ print ((ppPrec 3 parseExpr) <+> text "is satisfied by:") -- function application has precedence 3
|
||||
mapM_ (io . print) (if n < 0 then solutions else take n solutions)
|
||||
mapM_ (io . print . hsep) (if n < 0 then solutions else take n solutions)
|
||||
|
||||
specializeCmd :: String -> REPL ()
|
||||
specializeCmd str = do
|
||||
|
Loading…
Reference in New Issue
Block a user