Hoogle Search

Within LTS Haskell 24.37 (ghc-9.10.3)

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

  1. module System.FilePath.Posix.ByteString

    A library for RawFilePath manipulations, using Posix style paths on all platforms. Importing System.FilePath.ByteString is usually better. This module is the same as System.FilePath.Posix from the filepath library, except it uses RawFilePath. Given the example RawFilePath: /directory/file.ext We can use the following functions to extract pieces.

    And we could have built an equivalent path with the following expressions:
    • "/directory" </> "file.ext".
    • "/directory/file" <.> "ext".
    • "/directory/file.txt" -<.> "ext".
    Each function in this module is documented with several examples, which are also used as tests. Here are a few examples of using the filepath functions together: Example 1: Find the possible locations of a Haskell module Test imported from module Main:
    [replaceFileName path_to_main "Test" <.> ext | ext <- ["hs","lhs"] ]
    
    Example 2: Compile a Haskell file, putting the .hi file under interface:
    takeDirectory file </> "interface" </> (takeFileName file -<.> "hi")
    
    References: [1] Naming Files, Paths and Namespaces (Microsoft MSDN)

  2. module System.FilePath.Windows.ByteString

    A library for RawFilePath manipulations, using Windows style paths on all platforms. Importing System.FilePath.ByteString is usually better. This module is the same as System.FilePath.Windows from the filepath library, except it uses RawFilePath. Given the example RawFilePath: /directory/file.ext We can use the following functions to extract pieces.

    And we could have built an equivalent path with the following expressions:
    • "/directory" </> "file.ext".
    • "/directory/file" <.> "ext".
    • "/directory/file.txt" -<.> "ext".
    Each function in this module is documented with several examples, which are also used as tests. Here are a few examples of using the filepath functions together: Example 1: Find the possible locations of a Haskell module Test imported from module Main:
    [replaceFileName path_to_main "Test" <.> ext | ext <- ["hs","lhs"] ]
    
    Example 2: Compile a Haskell file, putting the .hi file under interface:
    takeDirectory file </> "interface" </> (takeFileName file -<.> "hi")
    
    References: [1] Naming Files, Paths and Namespaces (Microsoft MSDN)

  3. module Flat.Instances.ByteString

    Flat instances for the bytestring library

  4. module Data.GenValidity.ByteString

    No documentation available.

  5. data ByteString

    ihaskell IHaskellPrelude

    A space-efficient representation of a Word8 vector, supporting many efficient operations. A ByteString contains 8-bit bytes, or by using the operations from Data.ByteString.Char8 it can be interpreted as containing 8-bit characters.

  6. data ByteString

    incipit-base Incipit.String.Reexport

    A space-efficient representation of a Word8 vector, supporting many efficient operations. A ByteString contains 8-bit bytes, or by using the operations from Data.ByteString.Char8 it can be interpreted as containing 8-bit characters.

  7. data ByteString

    include-file Development.IncludeFile

    A space-efficient representation of a Word8 vector, supporting many efficient operations. A ByteString contains 8-bit bytes, or by using the operations from Data.ByteString.Char8 it can be interpreted as containing 8-bit characters.

  8. module Data.Interned.ByteString

    No documentation available.

  9. module Data.Interned.Internal.ByteString

    No documentation available.

  10. data ByteString

    keyed-vals-hspec-tests Test.KeyedVals.Hspec

    A space-efficient representation of a Word8 vector, supporting many efficient operations. A ByteString contains 8-bit bytes, or by using the operations from Data.ByteString.Char8 it can be interpreted as containing 8-bit characters.

Page 9 of many | Previous | Next