| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.Brittany.Internal.Config.Types
Documentation
data ExactPrintFallbackMode #
Instances
Constructors
| CPPModeAbort | |
| CPPModeWarn | |
| CPPModeNowarn |
Instances
| Data CPPMode # | |
Defined in Language.Haskell.Brittany.Internal.Config.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CPPMode -> c CPPMode # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CPPMode # toConstr :: CPPMode -> Constr # dataTypeOf :: CPPMode -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CPPMode) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CPPMode) # gmapT :: (forall b. Data b => b -> b) -> CPPMode -> CPPMode # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CPPMode -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CPPMode -> r # gmapQ :: (forall d. Data d => d -> u) -> CPPMode -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CPPMode -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CPPMode -> m CPPMode # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CPPMode -> m CPPMode # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CPPMode -> m CPPMode # | |
| Show CPPMode # | |
| Generic CPPMode # | |
| ToJSON CPPMode # | |
| FromJSON CPPMode # | |
| type Rep CPPMode # | |
Defined in Language.Haskell.Brittany.Internal.Config.Types type Rep CPPMode = D1 (MetaData "CPPMode" "Language.Haskell.Brittany.Internal.Config.Types" "brittany-0.11.0.0-9SpoKYehdGI5KQeBAuu6Fx" False) (C1 (MetaCons "CPPModeAbort" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CPPModeWarn" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CPPModeNowarn" PrefixI False) (U1 :: * -> *))) | |
data ColumnAlignMode #
Constructors
| ColumnAlignModeDisabled | Make no column alignments whatsoever |
| ColumnAlignModeUnanimously | Make column alignments only if it does not cause overflow for any of the affected lines. |
| ColumnAlignModeMajority Float | If at least (ratio::Float) of the aligned elements have sufficient space for the alignment, act like ColumnAlignModeAnimously; otherwise act like ColumnAlignModeDisabled. |
| ColumnAlignModeAnimouslyScale Int | Scale back columns to some degree if their sum leads to overflow. This is done in a linear fashion. The Int specifies additional columns to be added to column maximum for scaling calculation purposes. |
| ColumnAlignModeAnimously | Decide on a case-by-case basis if alignment would cause overflow. If it does, cancel all alignments for this (nested) column description. ColumnAlignModeAnimouslySome -- potentially to implement |
| ColumnAlignModeAlways | Always respect column alignments, even if it makes stuff overflow. |
Instances
data AltChooser #
Instances
data IndentPolicy #
Constructors
| IndentPolicyLeft | |
| IndentPolicyFree | |
| IndentPolicyMultiple |
Instances
type ForwardOptions = CForwardOptions Identity #
type LayoutConfig = CLayoutConfig Identity #
type DebugConfig = CDebugConfig Identity #
Constructors
| Config | |
Fields
| |
Instances
data CPreProcessorConfig f #
Constructors
| PreProcessorConfig | |
Fields
| |
Instances
data CErrorHandlingConfig f #
Constructors
| ErrorHandlingConfig | |
Fields
| |
Instances
data CForwardOptions f #
Constructors
| ForwardOptions | |
Fields
| |
Instances
data CLayoutConfig f #
Constructors
| LayoutConfig | |
Fields
| |
Instances
data CDebugConfig f #
Constructors
| DebugConfig | |
Fields
| |
Instances
confUnpack :: Coercible a b => Identity a -> b #