homepage: https://github.com/tdammers/wryte#readme
changelog-type: ''
hash: f5fd1fa2512451edef49810876b9d6c253eb015dcc41198ec3f46272762bbcd5
test-bench-deps:
  base: -any
  wryte: -any
maintainer: tdammers@gmail.com
synopsis: Pretty output for source generators
changelog: ''
basic-deps:
  base: ! '>=4.7 && <5'
  text: -any
  mtl: -any
all-versions:
- '0.1.0.0'
author: Tobias Dammers
latest: '0.1.0.0'
description-type: markdown
description: ! "# wryte\n\nPretty-printed source code with semi-automatic indentation\n\n##
  Introduction\n\nWryte provides an API for generating textual source code with pretty\nindentation
  and alignment. To achieve this, it tracks source column position,\nnewlines, and
  current indentation / alignment internally, and provides a\nmonadic API to conveniently
  manage these.\n\n## Installation\n\nThe usual; `cabal install wryte`, or add wryte
  to your stack\nextra-dependencies.\n\n## Basic Usage\n\n\n```haskell\nputStrLn .
  runWryte_ defWryteOptions $ do\n  wryteLn \"module Main where\"\n  wryteLn \"\"\n
  \ wryteLn \"main = do\"\n  indented $ do\n    wryteLn \"putStrLn \\\"Hello, world!\\\"\n```\n\nIndentation
  is tracked monadically, such that `indented` acts as a wrapper that\nautomatically
  prepends indentation to each new line. Indentations stack up, so\nyou can safely
  nest them, and they will do the right thing.\n\n\n"
license-name: BSD3

Update from Hackage at 2017-05-26T10:35:53Z
Update from Hackage at 2017-05-26T10:35:53Z
