File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ module Constrained.Env (
2020
2121import Constrained.Core
2222import Constrained.GenT
23- import Constrained.PrettyUtils
2423import Data.Map (Map )
2524import Data.Map qualified as Map
2625import Data.Typeable
@@ -80,12 +79,12 @@ filterKeys :: Env -> (forall a. Typeable a => Var a -> Bool) -> Env
8079filterKeys (Env m) f = Env $ Map. filterWithKey (\ (EnvKey k) _ -> f k) m
8180
8281instance Pretty EnvValue where
83- pretty (EnvValue x) = pretty $ take 80 ( show x)
82+ pretty (EnvValue x) = viaShow x
8483
8584instance Pretty EnvKey where
8685 pretty (EnvKey x) = viaShow x
8786
8887instance Pretty Env where
89- pretty (Env m) = " Env " /> vsep (map f (Map. toList m))
88+ pretty (Env m) = vsep (map f (Map. toList m))
9089 where
9190 f (k, v) = hsep [pretty k, " ->" , pretty v]
Original file line number Diff line number Diff line change @@ -1309,6 +1309,7 @@ instance Pretty SolverStage where
13091309 ( [pretty stageSpec | not $ isTrueSpec stageSpec]
13101310 ++ [" ---" | not $ null stagePreds, not $ isTrueSpec stageSpec]
13111311 ++ map pretty stagePreds
1312+ ++ [" _" | null stagePreds && isTrueSpec stageSpec]
13121313 )
13131314
13141315newtype SolverPlan = SolverPlan { solverPlan :: [SolverStage ] }
You can’t perform that action at this time.
0 commit comments