hi-1.1.0.1: Generate scaffold for cabal project

Safe HaskellSafe-Inferred
LanguageHaskell98

Hi.Template

Synopsis

Documentation

isTemplate :: FilePath -> Bool Source

Determine if a given filepath is a template file based on its extension >>> isTemplate "Example.hs.template" True >>> isTemplate "NotATemplate.hs" False

readTemplates :: TemplateSource -> IO Files Source

Read templates in given FilePath

untemplate :: FilePath -> FilePath Source

Remove ".template" from FilePath