-- 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.0.1 module Path.Extensions -- | The string ".c". cExtension :: String -- | The string ".cpp". cppExtension :: String -- | The string ".css". cssExtension :: 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 ".pdf". pdfExtension :: String -- | The string ".php". phpExtension :: String -- | The string ".png". pngExtension :: String -- | The string ".py". pyExtension :: String -- | The string ".svg" svgExtension :: String -- | The string ".xml". xmlExtension :: 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 ".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 ".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 ".svg" extension to the end of a File. addSvgExtension :: 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) -- | 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 ".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 ".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 ".svg" -- extension. withSvgExtension :: 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)