Hoogle Search

Within LTS Haskell 24.20 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. (-<.>) :: FilePath -> String -> FilePath

    filepath System.FilePath

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  2. (<.>) :: FilePath -> String -> FilePath

    filepath System.FilePath

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  3. (-<.>) :: FilePath -> String -> FilePath

    filepath System.FilePath.Posix

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  4. (<.>) :: FilePath -> String -> FilePath

    filepath System.FilePath.Posix

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  5. (-<.>) :: FilePath -> String -> FilePath

    filepath System.FilePath.Windows

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  6. (<.>) :: FilePath -> String -> FilePath

    filepath System.FilePath.Windows

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  7. (-<.>) :: OsPath -> OsString -> OsPath

    filepath System.OsPath

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  8. (<.>) :: OsPath -> OsString -> OsPath

    filepath System.OsPath

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  9. (-<.>) :: PosixPath -> PosixString -> PosixPath

    filepath System.OsPath.Posix

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  10. (<.>) :: PosixPath -> PosixString -> PosixPath

    filepath System.OsPath.Posix

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

Page 96 of many | Previous | Next