floskell-0.10.2: A flexible Haskell source code pretty printer

Safe HaskellNone
LanguageHaskell98

Floskell.ConfigFile

Synopsis

Documentation

data AppConfig Source #

Instances
Generic AppConfig Source # 
Instance details

Defined in Floskell.ConfigFile

Associated Types

type Rep AppConfig :: Type -> Type #

ToJSON AppConfig Source # 
Instance details

Defined in Floskell.ConfigFile

FromJSON AppConfig Source # 
Instance details

Defined in Floskell.ConfigFile

type Rep AppConfig Source # 
Instance details

Defined in Floskell.ConfigFile

defaultAppConfig :: AppConfig Source #

Default program configuration.

findAppConfig :: IO (Maybe FilePath) Source #

Try to find a configuration file based on current working directory, or in one of the application configuration directories.

readAppConfig :: FilePath -> IO AppConfig Source #

Load a configuration file.

showStyle :: Style -> String Source #

Show name of a style.

showLanguage :: Language -> String Source #

Show a Haskell language name.

showExtension :: Extension -> String Source #

Show a Haskell language extension.

showFixity :: Fixity -> String Source #

Show a fixity declaration.

lookupStyle :: String -> Style Source #

Lookup a style by name.

lookupLanguage :: String -> Language Source #

Lookup a language by name.

lookupExtension :: String -> Extension Source #

Lookup an extension by name.

lookupFixity :: String -> Fixity Source #

Parse a fixity declaration.