module Unison.Codebase.Verbosity where data Verbosity = Verbose | Silent deriving (Verbosity -> Verbosity -> Bool (Verbosity -> Verbosity -> Bool) -> (Verbosity -> Verbosity -> Bool) -> Eq Verbosity forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: Verbosity -> Verbosity -> Bool == :: Verbosity -> Verbosity -> Bool $c/= :: Verbosity -> Verbosity -> Bool /= :: Verbosity -> Verbosity -> Bool Eq, Int -> Verbosity -> ShowS [Verbosity] -> ShowS Verbosity -> String (Int -> Verbosity -> ShowS) -> (Verbosity -> String) -> ([Verbosity] -> ShowS) -> Show Verbosity forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> Verbosity -> ShowS showsPrec :: Int -> Verbosity -> ShowS $cshow :: Verbosity -> String show :: Verbosity -> String $cshowList :: [Verbosity] -> ShowS showList :: [Verbosity] -> ShowS Show) isSilent :: Verbosity -> Bool isSilent :: Verbosity -> Bool isSilent Verbosity v = case Verbosity v of Verbosity Verbose -> Bool False Verbosity Silent -> Bool True