floskell-0.11.0: A flexible Haskell source code pretty printer
Safe HaskellSafe-Inferred
LanguageHaskell2010

Floskell.Config

Documentation

data Indent #

Constructors

Align 
IndentBy !Int 
AlignOrIndentBy !Int 

Instances

Instances details
FromJSON Indent # 
Instance details

Defined in Floskell.Config

ToJSON Indent # 
Instance details

Defined in Floskell.Config

Generic Indent # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep Indent :: Type -> Type

Methods

from :: Indent -> Rep Indent x

to :: Rep Indent x -> Indent

Show Indent # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> Indent -> ShowS

show :: Indent -> String

showList :: [Indent] -> ShowS

Eq Indent # 
Instance details

Defined in Floskell.Config

Methods

(==) :: Indent -> Indent -> Bool

(/=) :: Indent -> Indent -> Bool

Ord Indent # 
Instance details

Defined in Floskell.Config

Methods

compare :: Indent -> Indent -> Ordering

(<) :: Indent -> Indent -> Bool

(<=) :: Indent -> Indent -> Bool

(>) :: Indent -> Indent -> Bool

(>=) :: Indent -> Indent -> Bool

max :: Indent -> Indent -> Indent

min :: Indent -> Indent -> Indent

type Rep Indent # 
Instance details

Defined in Floskell.Config

type Rep Indent = D1 ('MetaData "Indent" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" '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 #

Instances

Instances details
FromJSON LayoutContext # 
Instance details

Defined in Floskell.Config

ToJSON LayoutContext # 
Instance details

Defined in Floskell.Config

Bounded LayoutContext # 
Instance details

Defined in Floskell.Config

Enum LayoutContext # 
Instance details

Defined in Floskell.Config

Generic LayoutContext # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep LayoutContext :: Type -> Type

Show LayoutContext # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> LayoutContext -> ShowS

show :: LayoutContext -> String

showList :: [LayoutContext] -> ShowS

Eq LayoutContext # 
Instance details

Defined in Floskell.Config

Ord LayoutContext # 
Instance details

Defined in Floskell.Config

type Rep LayoutContext # 
Instance details

Defined in Floskell.Config

type Rep LayoutContext = D1 ('MetaData "LayoutContext" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) ((C1 ('MetaCons "Declaration" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Type" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Pattern" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Expression" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Other" 'PrefixI 'False) (U1 :: Type -> Type))))

data Location #

Constructors

Before 
After 

Instances

Instances details
Bounded Location # 
Instance details

Defined in Floskell.Config

Enum Location # 
Instance details

Defined in Floskell.Config

Generic Location # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep Location :: Type -> Type

Methods

from :: Location -> Rep Location x

to :: Rep Location x -> Location

Show Location # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> Location -> ShowS

show :: Location -> String

showList :: [Location] -> ShowS

Eq Location # 
Instance details

Defined in Floskell.Config

Methods

(==) :: Location -> Location -> Bool

(/=) :: Location -> Location -> Bool

Ord Location # 
Instance details

Defined in Floskell.Config

Methods

compare :: Location -> Location -> Ordering

(<) :: Location -> Location -> Bool

(<=) :: Location -> Location -> Bool

(>) :: Location -> Location -> Bool

(>=) :: Location -> Location -> Bool

max :: Location -> Location -> Location

min :: Location -> Location -> Location

type Rep Location # 
Instance details

Defined in Floskell.Config

type Rep Location = D1 ('MetaData "Location" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "Before" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "After" 'PrefixI 'False) (U1 :: Type -> Type))

data WsLoc #

Constructors

WsNone 
WsBefore 
WsAfter 
WsBoth 

Instances

Instances details
FromJSON WsLoc # 
Instance details

Defined in Floskell.Config

ToJSON WsLoc # 
Instance details

Defined in Floskell.Config

Bounded WsLoc # 
Instance details

Defined in Floskell.Config

Enum WsLoc # 
Instance details

Defined in Floskell.Config

Generic WsLoc # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep WsLoc :: Type -> Type

Methods

from :: WsLoc -> Rep WsLoc x

to :: Rep WsLoc x -> WsLoc

Show WsLoc # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> WsLoc -> ShowS

show :: WsLoc -> String

showList :: [WsLoc] -> ShowS

Eq WsLoc # 
Instance details

Defined in Floskell.Config

Methods

(==) :: WsLoc -> WsLoc -> Bool

(/=) :: WsLoc -> WsLoc -> Bool

Ord WsLoc # 
Instance details

Defined in Floskell.Config

Methods

compare :: WsLoc -> WsLoc -> Ordering

(<) :: WsLoc -> WsLoc -> Bool

(<=) :: WsLoc -> WsLoc -> Bool

(>) :: WsLoc -> WsLoc -> Bool

(>=) :: WsLoc -> WsLoc -> Bool

max :: WsLoc -> WsLoc -> WsLoc

min :: WsLoc -> WsLoc -> WsLoc

type Rep WsLoc # 
Instance details

Defined in Floskell.Config

type Rep WsLoc = D1 ('MetaData "WsLoc" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" '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 #

Constructors

Whitespace 

Fields

Instances

Instances details
FromJSON Whitespace # 
Instance details

Defined in Floskell.Config

ToJSON Whitespace # 
Instance details

Defined in Floskell.Config

Generic Whitespace # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep Whitespace :: Type -> Type

Methods

from :: Whitespace -> Rep Whitespace x

to :: Rep Whitespace x -> Whitespace

Show Whitespace # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> Whitespace -> ShowS

show :: Whitespace -> String

showList :: [Whitespace] -> ShowS

type Rep Whitespace # 
Instance details

Defined in Floskell.Config

type Rep Whitespace = D1 ('MetaData "Whitespace" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "Whitespace" 'PrefixI 'True) (S1 ('MetaSel ('Just "wsSpaces") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 WsLoc) :*: (S1 ('MetaSel ('Just "wsLinebreaks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 WsLoc) :*: S1 ('MetaSel ('Just "wsForceLinebreak") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))

data Layout #

Constructors

Flex 
Vertical 
TryOneline 

Instances

Instances details
FromJSON Layout # 
Instance details

Defined in Floskell.Config

ToJSON Layout # 
Instance details

Defined in Floskell.Config

Bounded Layout # 
Instance details

Defined in Floskell.Config

Enum Layout # 
Instance details

Defined in Floskell.Config

Generic Layout # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep Layout :: Type -> Type

Methods

from :: Layout -> Rep Layout x

to :: Rep Layout x -> Layout

Show Layout # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> Layout -> ShowS

show :: Layout -> String

showList :: [Layout] -> ShowS

Eq Layout # 
Instance details

Defined in Floskell.Config

Methods

(==) :: Layout -> Layout -> Bool

(/=) :: Layout -> Layout -> Bool

Ord Layout # 
Instance details

Defined in Floskell.Config

Methods

compare :: Layout -> Layout -> Ordering

(<) :: Layout -> Layout -> Bool

(<=) :: Layout -> Layout -> Bool

(>) :: Layout -> Layout -> Bool

(>=) :: Layout -> Layout -> Bool

max :: Layout -> Layout -> Layout

min :: Layout -> Layout -> Layout

type Rep Layout # 
Instance details

Defined in Floskell.Config

type Rep Layout = D1 ('MetaData "Layout" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" '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 #

Constructors

ConfigMapKey !(Maybe Text) !(Maybe LayoutContext) 

Instances

Instances details
Show ConfigMapKey # 
Instance details

Defined in Floskell.Config

Methods

showsPrec :: Int -> ConfigMapKey -> ShowS

show :: ConfigMapKey -> String

showList :: [ConfigMapKey] -> ShowS

Eq ConfigMapKey # 
Instance details

Defined in Floskell.Config

Methods

(==) :: ConfigMapKey -> ConfigMapKey -> Bool

(/=) :: ConfigMapKey -> ConfigMapKey -> Bool

Ord ConfigMapKey # 
Instance details

Defined in Floskell.Config

data ConfigMap a #

Constructors

ConfigMap 

Fields

Instances

Instances details
FromJSON a => FromJSON (ConfigMap a) # 
Instance details

Defined in Floskell.Config

ToJSON a => ToJSON (ConfigMap a) # 
Instance details

Defined in Floskell.Config

Generic (ConfigMap a) # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep (ConfigMap a) :: Type -> Type

Methods

from :: ConfigMap a -> Rep (ConfigMap a) x

to :: Rep (ConfigMap a) x -> ConfigMap a

type Rep (ConfigMap a) # 
Instance details

Defined in Floskell.Config

type Rep (ConfigMap a) = D1 ('MetaData "ConfigMap" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" '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 #

Constructors

PenaltyConfig 

Fields

Instances

Instances details
FromJSON PenaltyConfig # 
Instance details

Defined in Floskell.Config

ToJSON PenaltyConfig # 
Instance details

Defined in Floskell.Config

Generic PenaltyConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep PenaltyConfig :: Type -> Type

Default PenaltyConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: PenaltyConfig #

type Rep PenaltyConfig # 
Instance details

Defined in Floskell.Config

type Rep PenaltyConfig = D1 ('MetaData "PenaltyConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "PenaltyConfig" 'PrefixI 'True) ((S1 ('MetaSel ('Just "penaltyMaxLineLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "penaltyLinebreak") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "penaltyIndent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "penaltyOverfull") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "penaltyOverfullOnce") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))))

data AlignConfig #

Constructors

AlignConfig 

Fields

Instances

Instances details
FromJSON AlignConfig # 
Instance details

Defined in Floskell.Config

ToJSON AlignConfig # 
Instance details

Defined in Floskell.Config

Generic AlignConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep AlignConfig :: Type -> Type

Methods

from :: AlignConfig -> Rep AlignConfig x

to :: Rep AlignConfig x -> AlignConfig

Default AlignConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: AlignConfig #

type Rep AlignConfig # 
Instance details

Defined in Floskell.Config

type Rep AlignConfig = D1 ('MetaData "AlignConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "AlignConfig" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cfgAlignLimits") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Int, Int)) :*: S1 ('MetaSel ('Just "cfgAlignCase") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "cfgAlignClass") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cfgAlignImportModule") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "cfgAlignImportSpec") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cfgAlignLetBinds") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "cfgAlignMatches") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "cfgAlignRecordFields") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cfgAlignWhere") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))))

data IndentConfig #

Instances

Instances details
FromJSON IndentConfig # 
Instance details

Defined in Floskell.Config

ToJSON IndentConfig # 
Instance details

Defined in Floskell.Config

Generic IndentConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep IndentConfig :: Type -> Type

Default IndentConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: IndentConfig #

type Rep IndentConfig # 
Instance details

Defined in Floskell.Config

type Rep IndentConfig = D1 ('MetaData "IndentConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "IndentConfig" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "cfgIndentOnside") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "cfgIndentDeriving") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "cfgIndentWhere") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "cfgIndentApp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent))) :*: ((S1 ('MetaSel ('Just "cfgIndentCase") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent) :*: S1 ('MetaSel ('Just "cfgIndentClass") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent)) :*: (S1 ('MetaSel ('Just "cfgIndentDo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent) :*: S1 ('MetaSel ('Just "cfgIndentExportSpecList") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent)))) :*: (((S1 ('MetaSel ('Just "cfgIndentIf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent) :*: S1 ('MetaSel ('Just "cfgIndentImportSpecList") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent)) :*: (S1 ('MetaSel ('Just "cfgIndentLet") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent) :*: S1 ('MetaSel ('Just "cfgIndentLetBinds") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent))) :*: ((S1 ('MetaSel ('Just "cfgIndentLetIn") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent) :*: S1 ('MetaSel ('Just "cfgIndentMultiIf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent)) :*: (S1 ('MetaSel ('Just "cfgIndentTypesig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent) :*: S1 ('MetaSel ('Just "cfgIndentWhereBinds") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Indent))))))

data LayoutConfig #

Instances

Instances details
FromJSON LayoutConfig # 
Instance details

Defined in Floskell.Config

ToJSON LayoutConfig # 
Instance details

Defined in Floskell.Config

Generic LayoutConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep LayoutConfig :: Type -> Type

Default LayoutConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: LayoutConfig #

type Rep LayoutConfig # 
Instance details

Defined in Floskell.Config

type Rep LayoutConfig = D1 ('MetaData "LayoutConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "LayoutConfig" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cfgLayoutApp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: S1 ('MetaSel ('Just "cfgLayoutConDecls") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout)) :*: (S1 ('MetaSel ('Just "cfgLayoutDeclaration") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: (S1 ('MetaSel ('Just "cfgLayoutExportSpecList") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: S1 ('MetaSel ('Just "cfgLayoutIf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout)))) :*: ((S1 ('MetaSel ('Just "cfgLayoutImportSpecList") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: (S1 ('MetaSel ('Just "cfgLayoutInfixApp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: S1 ('MetaSel ('Just "cfgLayoutLet") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout))) :*: (S1 ('MetaSel ('Just "cfgLayoutListComp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: (S1 ('MetaSel ('Just "cfgLayoutRecord") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout) :*: S1 ('MetaSel ('Just "cfgLayoutType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Layout))))))

newtype OpConfig #

Constructors

OpConfig 

Instances

Instances details
FromJSON OpConfig # 
Instance details

Defined in Floskell.Config

ToJSON OpConfig # 
Instance details

Defined in Floskell.Config

Generic OpConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep OpConfig :: Type -> Type

Methods

from :: OpConfig -> Rep OpConfig x

to :: Rep OpConfig x -> OpConfig

Default OpConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: OpConfig #

type Rep OpConfig # 
Instance details

Defined in Floskell.Config

type Rep OpConfig = D1 ('MetaData "OpConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'True) (C1 ('MetaCons "OpConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "unOpConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConfigMap Whitespace))))

newtype GroupConfig #

Instances

Instances details
FromJSON GroupConfig # 
Instance details

Defined in Floskell.Config

ToJSON GroupConfig # 
Instance details

Defined in Floskell.Config

Generic GroupConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep GroupConfig :: Type -> Type

Methods

from :: GroupConfig -> Rep GroupConfig x

to :: Rep GroupConfig x -> GroupConfig

Default GroupConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: GroupConfig #

type Rep GroupConfig # 
Instance details

Defined in Floskell.Config

type Rep GroupConfig = D1 ('MetaData "GroupConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'True) (C1 ('MetaCons "GroupConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGroupConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConfigMap Whitespace))))

data ImportsGroupOrder #

Instances

Instances details
FromJSON ImportsGroupOrder # 
Instance details

Defined in Floskell.Config

ToJSON ImportsGroupOrder # 
Instance details

Defined in Floskell.Config

Generic ImportsGroupOrder # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep ImportsGroupOrder :: Type -> Type

type Rep ImportsGroupOrder # 
Instance details

Defined in Floskell.Config

type Rep ImportsGroupOrder = D1 ('MetaData "ImportsGroupOrder" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "ImportsGroupKeep" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ImportsGroupSorted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImportsGroupGrouped" 'PrefixI 'False) (U1 :: Type -> Type)))

data ImportsGroup #

Constructors

ImportsGroup 

Instances

Instances details
FromJSON ImportsGroup # 
Instance details

Defined in Floskell.Config

ToJSON ImportsGroup # 
Instance details

Defined in Floskell.Config

Generic ImportsGroup # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep ImportsGroup :: Type -> Type

type Rep ImportsGroup # 
Instance details

Defined in Floskell.Config

type Rep ImportsGroup = D1 ('MetaData "ImportsGroup" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "ImportsGroup" 'PrefixI 'True) (S1 ('MetaSel ('Just "importsPrefixes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [String]) :*: S1 ('MetaSel ('Just "importsOrder") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ImportsGroupOrder)))

data DeclarationConstruct #

Instances

Instances details
FromJSON DeclarationConstruct # 
Instance details

Defined in Floskell.Config

ToJSON DeclarationConstruct # 
Instance details

Defined in Floskell.Config

Generic DeclarationConstruct # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep DeclarationConstruct :: Type -> Type

Eq DeclarationConstruct # 
Instance details

Defined in Floskell.Config

Ord DeclarationConstruct # 
Instance details

Defined in Floskell.Config

type Rep DeclarationConstruct # 
Instance details

Defined in Floskell.Config

type Rep DeclarationConstruct = D1 ('MetaData "DeclarationConstruct" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) ((C1 ('MetaCons "DeclModule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeclClass" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeclInstance" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeclWhere" 'PrefixI 'False) (U1 :: Type -> Type)))

data OptionConfig #

Instances

Instances details
FromJSON OptionConfig # 
Instance details

Defined in Floskell.Config

ToJSON OptionConfig # 
Instance details

Defined in Floskell.Config

Generic OptionConfig # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep OptionConfig :: Type -> Type

Default OptionConfig # 
Instance details

Defined in Floskell.Config

Methods

def :: OptionConfig #

type Rep OptionConfig # 
Instance details

Defined in Floskell.Config

type Rep OptionConfig = D1 ('MetaData "OptionConfig" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "OptionConfig" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cfgOptionSortPragmas") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cfgOptionSplitLanguagePragmas") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "cfgOptionSortImports") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SortImportsRule) :*: S1 ('MetaSel ('Just "cfgOptionSortImportLists") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "cfgOptionAlignSumTypeDecl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cfgOptionFlexibleOneline") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "cfgOptionPreserveVerticalSpace") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "cfgOptionDeclNoBlankLines") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set DeclarationConstruct)) :*: S1 ('MetaSel ('Just "cfgOptionAlignLetBindsAndInExpr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))))

data Config #

Instances

Instances details
FromJSON Config # 
Instance details

Defined in Floskell.Config

ToJSON Config # 
Instance details

Defined in Floskell.Config

Generic Config # 
Instance details

Defined in Floskell.Config

Associated Types

type Rep Config :: Type -> Type

Methods

from :: Config -> Rep Config x

to :: Rep Config x -> Config

Default Config # 
Instance details

Defined in Floskell.Config

Methods

def :: Config #

type Rep Config # 
Instance details

Defined in Floskell.Config

type Rep Config = D1 ('MetaData "Config" "Floskell.Config" "floskell-0.11.0-FcCpf6QupMgIc5qNTp9SwN" 'False) (C1 ('MetaCons "Config" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cfgPenalty") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PenaltyConfig) :*: (S1 ('MetaSel ('Just "cfgAlign") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AlignConfig) :*: S1 ('MetaSel ('Just "cfgIndent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IndentConfig))) :*: ((S1 ('MetaSel ('Just "cfgLayout") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LayoutConfig) :*: S1 ('MetaSel ('Just "cfgOp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OpConfig)) :*: (S1 ('MetaSel ('Just "cfgGroup") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GroupConfig) :*: S1 ('MetaSel ('Just "cfgOptions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OptionConfig)))))

cfgMapFind :: LayoutContext -> Text -> ConfigMap a -> a #

inWs :: Location -> WsLoc -> Bool #