hscaffold: Very simple file/directory structure scaffolding writer monad EDSL

[ development, library, mit, program ] [ Propose Tags ]

See our README on GitHub at https://github.com/yamadapc/hscaffold

[Skip to Readme]
Versions [faq],,,,,,,,
Change log ChangeLog.md
Dependencies base (>=4.8 && <5), directory, exceptions, filepath, hscaffold, mtl, regex-compat, temporary, text, transformers, unix [details]
License MIT
Author Pedro Tacla Yamada
Maintainer tacla.yamada@gmail.com
Category Development
Home page https://github.com/yamadapc/hscaffold#readme
Bug tracker https://github.com/yamadapc/hscaffold/issues
Source repo head: git clone https://github.com/yamadapc/hscaffold
Uploaded by yamadapc at 2016-11-15T20:04:56Z
Distributions NixOS:
Executables hsfiles-from-directory
Downloads 4727 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-11-16 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for hscaffold-

[back to package description]


Very simple file/directory structure scaffolding writer monad EDSL

runHscaffold "." $ do
    file "./.gitignore" (Text.unlines [ ".stack-work"
                                      , "stuff"
                                      , "here"
    directory "./src" $ do
        file "./Main.hs" "main = putStrLn \"Hello World\""
        file "./Other.hs" "other = putStrLn \"Hello You\""