Hpack.Run

hpack-0.11.2: An alternative format for Haskell packages

Safe Haskell | None
Language | Haskell2010

Hpack.Run

# Documentation

run :: FilePath -> IO ([String], FilePath, String)

renderPackage :: RenderSettings -> Int -> [String] -> Package -> String

data RenderSettings

Constructors

RenderSettings |
Fields renderSettingsIndentation :: Int renderSettingsCommaStyle :: CommaStyle

Instances

Eq RenderSettings |
Show RenderSettings |

data CommaStyle

Constructors

LeadingCommas |
TrailingCommas |

Instances

Eq CommaStyle |
Show CommaStyle |

defaultRenderSettings :: RenderSettings