Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
FromJSON Indent Source # | |
ToJSON Indent Source # | |
Defined in Floskell.Config | |
Generic Indent Source # | |
Show Indent Source # | |
Eq Indent Source # | |
Ord Indent Source # | |
type Rep Indent Source # | |
Defined in Floskell.Config type Rep Indent = D1 ('MetaData "Indent" "Floskell.Config" "floskell-0.10.8-IktK8zrLCz8LQZy1znJQ3U" 'False) (C1 ('MetaCons "Align" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IndentBy" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "AlignOrIndentBy" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))) |
data LayoutContext Source #
Instances
Instances
Bounded Location Source # | |
Enum Location Source # | |
Generic Location Source # | |
Show Location Source # | |
Eq Location Source # | |
Ord Location Source # | |
Defined in Floskell.Config | |
type Rep Location Source # | |
Instances
FromJSON WsLoc Source # | |
ToJSON WsLoc Source # | |
Defined in Floskell.Config | |
Bounded WsLoc Source # | |
Enum WsLoc Source # | |
Generic WsLoc Source # | |
Show WsLoc Source # | |
Eq WsLoc Source # | |
Ord WsLoc Source # | |
type Rep WsLoc Source # | |
Defined in Floskell.Config type Rep WsLoc = D1 ('MetaData "WsLoc" "Floskell.Config" "floskell-0.10.8-IktK8zrLCz8LQZy1znJQ3U" 'False) ((C1 ('MetaCons "WsNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WsBefore" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WsAfter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WsBoth" 'PrefixI 'False) (U1 :: Type -> Type))) |
data Whitespace Source #
Whitespace | |
|
Instances
Instances
FromJSON Layout Source # | |
ToJSON Layout Source # | |
Defined in Floskell.Config | |
Bounded Layout Source # | |
Enum Layout Source # | |
Defined in Floskell.Config | |
Generic Layout Source # | |
Show Layout Source # | |
Eq Layout Source # | |
Ord Layout Source # | |
type Rep Layout Source # | |
Defined in Floskell.Config type Rep Layout = D1 ('MetaData "Layout" "Floskell.Config" "floskell-0.10.8-IktK8zrLCz8LQZy1znJQ3U" 'False) (C1 ('MetaCons "Flex" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Vertical" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TryOneline" 'PrefixI 'False) (U1 :: Type -> Type))) |
data ConfigMapKey Source #
Instances
Show ConfigMapKey Source # | |
Defined in Floskell.Config showsPrec :: Int -> ConfigMapKey -> ShowS # show :: ConfigMapKey -> String # showList :: [ConfigMapKey] -> ShowS # | |
Eq ConfigMapKey Source # | |
Defined in Floskell.Config (==) :: ConfigMapKey -> ConfigMapKey -> Bool # (/=) :: ConfigMapKey -> ConfigMapKey -> Bool # | |
Ord ConfigMapKey Source # | |
Defined in Floskell.Config compare :: ConfigMapKey -> ConfigMapKey -> Ordering # (<) :: ConfigMapKey -> ConfigMapKey -> Bool # (<=) :: ConfigMapKey -> ConfigMapKey -> Bool # (>) :: ConfigMapKey -> ConfigMapKey -> Bool # (>=) :: ConfigMapKey -> ConfigMapKey -> Bool # max :: ConfigMapKey -> ConfigMapKey -> ConfigMapKey # min :: ConfigMapKey -> ConfigMapKey -> ConfigMapKey # |
ConfigMap | |
|
Instances
FromJSON a => FromJSON (ConfigMap a) Source # | |
ToJSON a => ToJSON (ConfigMap a) Source # | |
Defined in Floskell.Config | |
Generic (ConfigMap a) Source # | |
type Rep (ConfigMap a) Source # | |
Defined in Floskell.Config type Rep (ConfigMap a) = D1 ('MetaData "ConfigMap" "Floskell.Config" "floskell-0.10.8-IktK8zrLCz8LQZy1znJQ3U" 'False) (C1 ('MetaCons "ConfigMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "cfgMapDefault") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "cfgMapOverrides") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map ConfigMapKey a)))) |
data PenaltyConfig Source #
PenaltyConfig | |
|
Instances
data AlignConfig Source #
AlignConfig | |
|
Instances
data IndentConfig Source #
IndentConfig | |
|
Instances
data LayoutConfig Source #
LayoutConfig | |
|
Instances
Instances
FromJSON OpConfig Source # | |
ToJSON OpConfig Source # | |
Defined in Floskell.Config | |
Generic OpConfig Source # | |
Default OpConfig Source # | |
Defined in Floskell.Config | |
type Rep OpConfig Source # | |
Defined in Floskell.Config type Rep OpConfig = D1 ('MetaData "OpConfig" "Floskell.Config" "floskell-0.10.8-IktK8zrLCz8LQZy1znJQ3U" 'True) (C1 ('MetaCons "OpConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "unOpConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConfigMap Whitespace)))) |
newtype GroupConfig Source #
Instances
FromJSON GroupConfig Source # | |
Defined in Floskell.Config parseJSON :: Value -> Parser GroupConfig # parseJSONList :: Value -> Parser [GroupConfig] # | |
ToJSON GroupConfig Source # | |
Defined in Floskell.Config toJSON :: GroupConfig -> Value # toEncoding :: GroupConfig -> Encoding # toJSONList :: [GroupConfig] -> Value # toEncodingList :: [GroupConfig] -> Encoding # | |
Generic GroupConfig Source # | |
Defined in Floskell.Config type Rep GroupConfig :: Type -> Type # from :: GroupConfig -> Rep GroupConfig x # to :: Rep GroupConfig x -> GroupConfig # | |
Default GroupConfig Source # | |
Defined in Floskell.Config def :: GroupConfig # | |
type Rep GroupConfig Source # | |
Defined in Floskell.Config type Rep GroupConfig = D1 ('MetaData "GroupConfig" "Floskell.Config" "floskell-0.10.8-IktK8zrLCz8LQZy1znJQ3U" 'True) (C1 ('MetaCons "GroupConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGroupConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConfigMap Whitespace)))) |
data ImportsGroupOrder Source #
Instances
data ImportsGroup Source #
Instances
data SortImportsRule Source #
Instances
FromJSON SortImportsRule Source # | |
Defined in Floskell.Config parseJSON :: Value -> Parser SortImportsRule # parseJSONList :: Value -> Parser [SortImportsRule] # | |
ToJSON SortImportsRule Source # | |
Defined in Floskell.Config toJSON :: SortImportsRule -> Value # toEncoding :: SortImportsRule -> Encoding # toJSONList :: [SortImportsRule] -> Value # toEncodingList :: [SortImportsRule] -> Encoding # |
data DeclarationConstruct Source #
Instances
data OptionConfig Source #
Instances
Config | |
|
Instances
safeConfig :: Config -> Config Source #
cfgMapFind :: LayoutContext -> ByteString -> ConfigMap a -> a Source #
cfgOpWs :: LayoutContext -> ByteString -> OpConfig -> Whitespace Source #
cfgGroupWs :: LayoutContext -> ByteString -> GroupConfig -> Whitespace Source #
wsLinebreak :: Location -> Whitespace -> Bool Source #