bpath-0.1.0: A minimal typed unix path library
Safe HaskellNone
LanguageHaskell2010

Path

Synopsis

The basic path type

data Path (t :: PathType) Source #

A canonicalized file path

Instances

Instances details
Lift (Path t :: Type) Source # 
Instance details

Defined in Path.Internal

Methods

lift :: Path t -> Q Exp #

liftTyped :: Path t -> Q (TExp (Path t)) #

Eq (Path t) Source # 
Instance details

Defined in Path.Internal

Methods

(==) :: Path t -> Path t -> Bool #

(/=) :: Path t -> Path t -> Bool #

Show (Path t) Source # 
Instance details

Defined in Path.Internal

Methods

showsPrec :: Int -> Path t -> ShowS #

show :: Path t -> String #

showList :: [Path t] -> ShowS #

Generic (Path t) Source # 
Instance details

Defined in Path.Internal

Associated Types

type Rep (Path t) :: Type -> Type #

Methods

from :: Path t -> Rep (Path t) x #

to :: Rep (Path t) x -> Path t #

type Rep (Path t) Source # 
Instance details

Defined in Path.Internal

type Rep (Path t) = D1 ('MetaData "Path" "Path.Internal" "bpath-0.1.0-inplace" 'True) (C1 ('MetaCons "Path" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Seq PathSeg))))

data PathType Source #

Constructors

Abs 
Rel 

Instances

Instances details
Eq PathType Source # 
Instance details

Defined in Path.Internal

Show PathType Source # 
Instance details

Defined in Path.Internal

Converting between ByteString and Path

Operations on paths

(</>) :: Path t -> Path 'Rel -> Path t Source #

parent :: Path t -> Path t Source #

Template Haskell stuff