Madlibs DSL for templating text (http://polemic.vmchale.com/madlang)

root / Setup.hs

1
2
3
4
5
6
7
8
9
10
11
import           Data.Foldable            (sequenceA_)
import           Distribution.CommandLine
import           Distribution.Simple

main :: IO ()
main = sequenceA_
    [ setManpath
    , writeManpages "man/madlang.1" "madlang.1"
    , writeBashCompletions "madlang"
    , defaultMain
    ]