FiniteCategories-0.1.0.0: Finite categories and usual categorical constructions on them.
CopyrightGuillaume Sabbagh 2021
LicenseGPL-3
Maintainerguillaumesabbagh@protonmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

IO.CreateAndWriteFile

Description

Write lazy text to a file specified by a path, if the path leads to non existing directories, it creates the directories. Credits to wisn : https://stackoverflow.com/a/58685979

Synopsis

Documentation

createAndWriteFile :: FilePath -> Text -> IO () Source #

Write lazy text to a file specified by a path, if the path leads to non existing directories, it creates the directories.