HORIZON HASKELLDocslts/ghc-9.14.x6d5fdfd2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 6d5fdfd · 2026-10-12

Modulefilepath-1.5.4.0Haskell2010

System.OsPath.Types

Contents
  1. FilePath types
  2. OsString reexports
Synopsis
  • Packagefilepath-1.5.4.0
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypes.hs

FilePath types

OsString reexports

newtypenewtype WindowsString

Commonly used windows string as wide character bytes.

Instances9Eq, Ord, Show, Generic, Semigroup, Monoid, …
newtypenewtype PosixString

Commonly used Posix string as uninterpreted char[] array.

Instances9Eq, Ord, Show, Generic, Semigroup, Monoid, …
newtypenewtype WindowsChar
#
Instances6Eq, Ord, Show, Generic, NFData, Rep
newtypenewtype PosixChar
#
Instances6Eq, Ord, Show, Generic, NFData, Rep
newtypenewtype OsString

Newtype representing short operating system specific strings.

Internally this is either WindowsString or PosixString, depending on the platform. Both use unpinned ShortByteString for efficiency.

The constructor is only exported via System.OsString.Internal.Types, since dealing with the internals isn't generally recommended, but supported in case you need to write platform specific code.

Instances9Eq, Ord, Show, Generic, Semigroup, Monoid, …
newtypenewtype OsChar

Newtype representing a code unit.

On Windows, this is restricted to two-octet codepoints Word16, on POSIX one-octet (Word8).

Instances6Eq, Ord, Show, Generic, NFData, Rep