Copyright | Copyright (C) 2020 Daniel Firth |
---|---|
Maintainer | Daniel Firth <dan.firth@homotopic.tech |
Safe Haskell | None |
Language | Haskell2010 |
License : MIT Stability : provisional
Enumeration of file extensions for use with the Path library.
Synopsis
- cExtension :: String
- cppExtension :: String
- cssExtension :: String
- docxExtension :: String
- gifExtension :: String
- hsExtension :: String
- htmlExtension :: String
- jpgExtension :: String
- jsExtension :: String
- mdExtension :: String
- mp3Extension :: String
- mp4Extension :: String
- oExtension :: String
- odtExtension :: String
- pdfExtension :: String
- phpExtension :: String
- pngExtension :: String
- pyExtension :: String
- rtfExtension :: String
- shExtension :: String
- svgExtension :: String
- texExtension :: String
- txtExtension :: String
- xmlExtension :: String
- wikiExtension :: String
- addCExtension :: MonadThrow m => Path b File -> m (Path b File)
- addCppExtension :: MonadThrow m => Path b File -> m (Path b File)
- addCssExtension :: MonadThrow m => Path b File -> m (Path b File)
- addDocxExtension :: MonadThrow m => Path b File -> m (Path b File)
- addGifExtension :: MonadThrow m => Path b File -> m (Path b File)
- addHsExtension :: MonadThrow m => Path b File -> m (Path b File)
- addHtmlExtension :: MonadThrow m => Path b File -> m (Path b File)
- addJpgExtension :: MonadThrow m => Path b File -> m (Path b File)
- addJsExtension :: MonadThrow m => Path b File -> m (Path b File)
- addMdExtension :: MonadThrow m => Path b File -> m (Path b File)
- addMp3Extension :: MonadThrow m => Path b File -> m (Path b File)
- addMp4Extension :: MonadThrow m => Path b File -> m (Path b File)
- addOExtension :: MonadThrow m => Path b File -> m (Path b File)
- addOdtExtension :: MonadThrow m => Path b File -> m (Path b File)
- addPdfExtension :: MonadThrow m => Path b File -> m (Path b File)
- addPhpExtension :: MonadThrow m => Path b File -> m (Path b File)
- addPngExtension :: MonadThrow m => Path b File -> m (Path b File)
- addPyExtension :: MonadThrow m => Path b File -> m (Path b File)
- addRtfExtension :: MonadThrow m => Path b File -> m (Path b File)
- addShExtension :: MonadThrow m => Path b File -> m (Path b File)
- addSvgExtension :: MonadThrow m => Path b File -> m (Path b File)
- addTexExtension :: MonadThrow m => Path b File -> m (Path b File)
- addTxtExtension :: MonadThrow m => Path b File -> m (Path b File)
- addXmlExtension :: MonadThrow m => Path b File -> m (Path b File)
- addWikiExtension :: MonadThrow m => Path b File -> m (Path b File)
- withCExtension :: MonadThrow m => Path b File -> m (Path b File)
- withCppExtension :: MonadThrow m => Path b File -> m (Path b File)
- withCssExtension :: MonadThrow m => Path b File -> m (Path b File)
- withDocxExtension :: MonadThrow m => Path b File -> m (Path b File)
- withGifExtension :: MonadThrow m => Path b File -> m (Path b File)
- withHsExtension :: MonadThrow m => Path b File -> m (Path b File)
- withHtmlExtension :: MonadThrow m => Path b File -> m (Path b File)
- withJpgExtension :: MonadThrow m => Path b File -> m (Path b File)
- withJsExtension :: MonadThrow m => Path b File -> m (Path b File)
- withMdExtension :: MonadThrow m => Path b File -> m (Path b File)
- withMp3Extension :: MonadThrow m => Path b File -> m (Path b File)
- withMp4Extension :: MonadThrow m => Path b File -> m (Path b File)
- withOExtension :: MonadThrow m => Path b File -> m (Path b File)
- withOdtExtension :: MonadThrow m => Path b File -> m (Path b File)
- withPdfExtension :: MonadThrow m => Path b File -> m (Path b File)
- withPhpExtension :: MonadThrow m => Path b File -> m (Path b File)
- withPngExtension :: MonadThrow m => Path b File -> m (Path b File)
- withPyExtension :: MonadThrow m => Path b File -> m (Path b File)
- withRtfExtension :: MonadThrow m => Path b File -> m (Path b File)
- withShExtension :: MonadThrow m => Path b File -> m (Path b File)
- withSvgExtension :: MonadThrow m => Path b File -> m (Path b File)
- withTexExtension :: MonadThrow m => Path b File -> m (Path b File)
- withTxtExtension :: MonadThrow m => Path b File -> m (Path b File)
- withXmlExtension :: MonadThrow m => Path b File -> m (Path b File)
- withWikiExtension :: MonadThrow m => Path b File -> m (Path b File)
Raw Extension Strings
cExtension :: String Source #
The string ".c".
cppExtension :: String Source #
The string ".cpp".
cssExtension :: String Source #
The string ".css".
docxExtension :: String Source #
The string ".docx"
gifExtension :: String Source #
The string ".gif".
hsExtension :: String Source #
The string ".hs".
htmlExtension :: String Source #
The string ".html".
jpgExtension :: String Source #
The string ".jpg".
jsExtension :: String Source #
The string ".js".
mdExtension :: String Source #
The string ".md".
mp3Extension :: String Source #
The string ".mp3".
mp4Extension :: String Source #
The string ".mp4".
oExtension :: String Source #
The string ".o".
odtExtension :: String Source #
The string ".odt"
pdfExtension :: String Source #
The string ".pdf".
phpExtension :: String Source #
The string ".php".
pngExtension :: String Source #
The string ".png".
pyExtension :: String Source #
The string ".py".
rtfExtension :: String Source #
The string ".rtf".
shExtension :: String Source #
The string ".sh"
svgExtension :: String Source #
The string ".svg"
texExtension :: String Source #
The string ".tex"
txtExtension :: String Source #
The string ".txt"
xmlExtension :: String Source #
The string ".xml".
wikiExtension :: String Source #
The string ".wiki"
Add Extensions
addCExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".c" extension to the end of a File
.
addCppExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".cpp" extension to the end of a File
.
addCssExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".css" extension to the end of a File
.
addDocxExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".docx" extension to the end of a File
.
addGifExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".gif" extension to the end of a File
.
addHsExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".hs" extension to the end of a File
.
addHtmlExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".html" extension to the end of a File
.
addJpgExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".jpg" extension to the end of a File
.
addJsExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".js" extension to the end of a File
.
addMdExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".md" extension to the end of a File
.
addMp3Extension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".mp3" extension to the end of a File
.
addMp4Extension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".mp4" extension to the end of a File
.
addOExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".o" extension to the end of a File
.
addOdtExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".odt" extension to the end of a File
.
addPdfExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".pdf" extension to the end of a File
.
addPhpExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".php" extension to the end of a File
.
addPngExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".png" extension to the end of a File
.
addPyExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".py" extension to the end of a File
.
addRtfExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".rtf" extension to the end of a File
.
addShExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".sh" extension to the end of a File
.
addSvgExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".svg" extension to the end of a File
.
addTexExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".tex" extension to the end of a File
.
addTxtExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".txt" extension to the end of a File
.
addXmlExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".xml" extension to the end of a File
.
addWikiExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Add a ".wiki" extension to the end of a File
.
Replace Extensions
withCExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".c" extension.
withCppExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".cpp" extension.
withCssExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".css" extension.
withDocxExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".docx" extension.
withGifExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".gif" extension.
withHsExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".hs" extension.
withHtmlExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".html" extension.
withJpgExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".jpg" extension.
withJsExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".js" extension.
withMdExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".md" extension.
withMp3Extension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".mp3" extension.
withMp4Extension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".mp4" extension.
withOExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".md" extension.
withOdtExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".odt" extension.
withPdfExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".pdf" extension.
withPhpExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".php" extension.
withPngExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".png" extension.
withPyExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".py" extension.
withRtfExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".rtf" extension.
withShExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".sh" extension.
withSvgExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".svg" extension.
withTexExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".tex" extension.
withTxtExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".txt" extension.
withXmlExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".xml" extension.
withWikiExtension :: MonadThrow m => Path b File -> m (Path b File) Source #
Replace the current extension of a File
with a ".wiki" extension.