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.
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.
- takeFileName gives "file.ext"
- takeDirectory gives "/directory"
- takeExtension gives ".ext"
- dropExtension gives "/directory/file"
- takeBaseName gives "file"
[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)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.
- takeFileName gives "file.ext"
- takeDirectory gives "/directory"
- takeExtension gives ".ext"
- dropExtension gives "/directory/file"
- takeBaseName gives "file"
[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)module Flat.Instances.
ByteString Flat instances for the bytestring library
module Data.GenValidity.
ByteString No documentation available.
-
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.
-
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.
-
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.
module Data.Interned.
ByteString No documentation available.
module Data.Interned.Internal.
ByteString No documentation available.
-
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.