Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data PrettyPrintEnvDecl Source #
Instances
Generic PrettyPrintEnvDecl Source # | |
Defined in Unison.PrettyPrintEnvDecl type Rep PrettyPrintEnvDecl :: Type -> Type # from :: PrettyPrintEnvDecl -> Rep PrettyPrintEnvDecl x # to :: Rep PrettyPrintEnvDecl x -> PrettyPrintEnvDecl # | |
Show PrettyPrintEnvDecl Source # | |
Defined in Unison.PrettyPrintEnvDecl showsPrec :: Int -> PrettyPrintEnvDecl -> ShowS # show :: PrettyPrintEnvDecl -> String # showList :: [PrettyPrintEnvDecl] -> ShowS # | |
type Rep PrettyPrintEnvDecl Source # | |
Defined in Unison.PrettyPrintEnvDecl type Rep PrettyPrintEnvDecl = D1 ('MetaData "PrettyPrintEnvDecl" "Unison.PrettyPrintEnvDecl" "unison-parser-typechecker-0.0.0-JliU30UQmMa2dDW5SxUdL" 'False) (C1 ('MetaCons "PrettyPrintEnvDecl" 'PrefixI 'True) (S1 ('MetaSel ('Just "unsuffixifiedPPE") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrettyPrintEnv) :*: S1 ('MetaSel ('Just "suffixifiedPPE") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrettyPrintEnv))) |
biasTo :: [Name] -> PrettyPrintEnvDecl -> PrettyPrintEnvDecl Source #
Lifts biasTo
over a PrettyPrintEnvDecl
addFallback :: PrettyPrintEnvDecl -> PrettyPrintEnvDecl -> PrettyPrintEnvDecl Source #
Will use names from the fallback pped if no names were found in the primary.
addFallback primary fallback