-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Enumeration of common filetype extensions for use with the path library. -- -- Enumeration of common filetype extensions for use with the path -- library, add variants for adding an extension to a path and with -- variants for replacing an existing extension. @package path-extensions @version 0.1.1.0 -- | License : MIT Stability : provisional -- -- Enumeration of file extensions for use with the Path library. module Path.Extensions -- | The string ".c". cExtension :: String -- | The string ".cpp". cppExtension :: String -- | The string ".css". cssExtension :: String -- | The string ".docx" docxExtension :: String -- | The string ".gif". gifExtension :: String -- | The string ".hs". hsExtension :: String -- | The string ".html". htmlExtension :: String -- | The string ".jpg". jpgExtension :: String -- | The string ".js". jsExtension :: String -- | The string ".md". mdExtension :: String -- | The string ".mp3". mp3Extension :: String -- | The string ".mp4". mp4Extension :: String -- | The string ".o". oExtension :: String -- | The string ".odt" odtExtension :: String -- | The string ".pdf". pdfExtension :: String -- | The string ".php". phpExtension :: String -- | The string ".png". pngExtension :: String -- | The string ".py". pyExtension :: String -- | The string ".rtf". rtfExtension :: String -- | The string ".sh" shExtension :: String -- | The string ".svg" svgExtension :: String -- | The string ".tex" texExtension :: String -- | The string ".txt" txtExtension :: String -- | The string ".xml". xmlExtension :: String -- | The string ".wiki" wikiExtension :: String -- | Add a ".c" extension to the end of a File. addCExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".cpp" extension to the end of a File. addCppExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".css" extension to the end of a File. addCssExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".docx" extension to the end of a File. addDocxExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".gif" extension to the end of a File. addGifExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".hs" extension to the end of a File. addHsExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".html" extension to the end of a File. addHtmlExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".jpg" extension to the end of a File. addJpgExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".js" extension to the end of a File. addJsExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".md" extension to the end of a File. addMdExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".mp3" extension to the end of a File. addMp3Extension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".mp4" extension to the end of a File. addMp4Extension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".o" extension to the end of a File. addOExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".odt" extension to the end of a File. addOdtExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".pdf" extension to the end of a File. addPdfExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".php" extension to the end of a File. addPhpExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".png" extension to the end of a File. addPngExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".py" extension to the end of a File. addPyExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".rtf" extension to the end of a File. addRtfExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".sh" extension to the end of a File. addShExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".svg" extension to the end of a File. addSvgExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".tex" extension to the end of a File. addTexExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".txt" extension to the end of a File. addTxtExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".xml" extension to the end of a File. addXmlExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Add a ".wiki" extension to the end of a File. addWikiExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".c" extension. withCExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".cpp" -- extension. withCppExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".css" -- extension. withCssExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".docx" -- extension. withDocxExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".gif" -- extension. withGifExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".hs" extension. withHsExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".html" -- extension. withHtmlExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".jpg" -- extension. withJpgExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".js" extension. withJsExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".md" extension. withMdExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".mp3" -- extension. withMp3Extension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".mp4" -- extension. withMp4Extension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".md" extension. withOExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".odt" -- extension. withOdtExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".pdf" -- extension. withPdfExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".php" -- extension. withPhpExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".png" -- extension. withPngExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".py" extension. withPyExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".rtf" -- extension. withRtfExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".sh" extension. withShExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".svg" -- extension. withSvgExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".tex" -- extension. withTexExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".txt" -- extension. withTxtExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".xml" -- extension. withXmlExtension :: MonadThrow m => Path b File -> m (Path b File) -- | Replace the current extension of a File with a ".wiki" -- extension. withWikiExtension :: MonadThrow m => Path b File -> m (Path b File)