floskell-0.10.3: A flexible Haskell source code pretty printer

Safe HaskellNone
LanguageHaskell2010

Floskell

Contents

Description

Haskell indenter.

Synopsis

Configuration

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.

Formatting functions.

Style

data Style Source #

A printer style.

Constructors

Style 

Fields

styles :: [Style] Source #

Styles list, useful for programmatically choosing.

Testing

defaultExtensions :: [Extension] Source #

Default extensions.