path-0.9.6: Support for well-typed paths
Safe HaskellNone
LanguageHaskell2010

System.OsString.Compat.Posix

Synopsis

Documentation

newtype PosixString Source #

Commonly used Posix string as uninterpreted char[] array.

Instances

Instances details
NFData PosixString 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf :: PosixString -> () Source #

Monoid PosixString 
Instance details

Defined in System.OsString.Internal.Types

Semigroup PosixString 
Instance details

Defined in System.OsString.Internal.Types

Data PosixString Source # 
Instance details

Defined in System.OsString.Compat.Posix

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PosixString -> c PosixString Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PosixString Source #

toConstr :: PosixString -> Constr Source #

dataTypeOf :: PosixString -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PosixString) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PosixString) Source #

gmapT :: (forall b. Data b => b -> b) -> PosixString -> PosixString Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PosixString -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PosixString -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PosixString -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PosixString -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PosixString -> m PosixString Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PosixString -> m PosixString Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PosixString -> m PosixString Source #

Generic PosixString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep PosixString 
Instance details

Defined in System.OsString.Internal.Types

type Rep PosixString = D1 ('MetaData "PosixString" "System.OsString.Internal.Types" "os-string-2.0.7-inplace" 'True) (C1 ('MetaCons "PosixString" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPosixString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ShortByteString)))
Show PosixString

Prints the raw bytes without decoding.

Instance details

Defined in System.OsString.Internal.Types

Eq PosixString 
Instance details

Defined in System.OsString.Internal.Types

Ord PosixString 
Instance details

Defined in System.OsString.Internal.Types

Lift PosixString 
Instance details

Defined in System.OsString.Internal.Types

Methods

lift :: Quote m => PosixString -> m Exp Source #

liftTyped :: forall (m :: Type -> Type). Quote m => PosixString -> Code m PosixString Source #

type Rep PosixString 
Instance details

Defined in System.OsString.Internal.Types

type Rep PosixString = D1 ('MetaData "PosixString" "System.OsString.Internal.Types" "os-string-2.0.7-inplace" 'True) (C1 ('MetaCons "PosixString" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPosixString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ShortByteString)))

newtype PosixChar Source #

Constructors

PosixChar 

Fields

Instances

Instances details
NFData PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf :: PosixChar -> () Source #

Generic PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep PosixChar 
Instance details

Defined in System.OsString.Internal.Types

type Rep PosixChar = D1 ('MetaData "PosixChar" "System.OsString.Internal.Types" "os-string-2.0.7-inplace" 'True) (C1 ('MetaCons "PosixChar" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPosixChar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))
Show PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Eq PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Ord PosixChar 
Instance details

Defined in System.OsString.Internal.Types

type Rep PosixChar 
Instance details

Defined in System.OsString.Internal.Types

type Rep PosixChar = D1 ('MetaData "PosixChar" "System.OsString.Internal.Types" "os-string-2.0.7-inplace" 'True) (C1 ('MetaCons "PosixChar" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPosixChar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))

Orphan instances

Data PosixString Source # 
Instance details

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PosixString -> c PosixString Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PosixString Source #

toConstr :: PosixString -> Constr Source #

dataTypeOf :: PosixString -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PosixString) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PosixString) Source #

gmapT :: (forall b. Data b => b -> b) -> PosixString -> PosixString Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PosixString -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PosixString -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PosixString -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PosixString -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PosixString -> m PosixString Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PosixString -> m PosixString Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PosixString -> m PosixString Source #