Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Lib.FileHandling
Contents
Synopsis
- textlinesFile :: TypedFile5 Text [Text]
- textlinesNewFile :: TypedFile5 Text [Text]
- textlinesBakFile :: TypedFile5 Text [Text]
- mdFile :: TypedFile5 Text [Text]
- txtExtension :: Extension
- newExtension :: Extension
- bakExtension :: Extension
- readErlaubt :: Path Abs File -> ErrIO [Text]
- writeWithBak :: Bool -> Path Abs File -> TypedFile5 Text [Text] -> [Text] -> ErrIO ()
Documentation
textlinesFile :: TypedFile5 Text [Text] Source #
bakExtension :: Extension Source #
filetype to read text in lines
writeWithBak :: Bool -> Path Abs File -> TypedFile5 Text [Text] -> [Text] -> ErrIO () Source #
write the text into a file; use path given after renaming the file to bak if debug then write the text into a new file