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, …
Eq OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesByte equality of the internal representation.
Ord OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesByte ordering of the internal representation.
Show OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesOn windows, decodes as UCS-2. On unix prints the raw bytes without decoding.
Generic OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesSemigroup OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesMonoid OsStringDefined in os-string-2.0.7 · System.OsString.Internal.Types"String-Concatenation" for OsString. This is not the same as
(</>).NFData OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesLift OsStringDefined in os-string-2.0.7 · System.OsString.Internal.Typestype Rep OsString = D1 ('MetaDataDefined in os-string-2.0.7 · System.OsString.Internal.Types"OsString"
"System.OsString.Internal.Types"
"os-string-2.0.7-3011"
'True) (C1 ('MetaCons"OsString"
'PrefixI 'True) (S1 ('MetaSel ('Just"getOsString"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PlatformString)))