Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Path (t :: PathType)
- data PathType
- parseAbs :: ByteString -> Maybe (Path 'Abs)
- parseRel :: ByteString -> Maybe (Path 'Rel)
- fromAbs :: Path 'Abs -> ByteString
- fromRel :: Path 'Rel -> ByteString
- (</>) :: Path t -> Path 'Rel -> Path t
- stripPrefix :: Path t -> Path t -> Maybe (Path 'Rel)
- isPrefixOf :: Path t -> Path t -> Bool
- parent :: Path t -> Path t
- filename :: Path t -> Path 'Rel
- mkAbs :: ByteString -> Q Exp
- mkRel :: ByteString -> Q Exp
- absp :: QuasiQuoter
- relp :: QuasiQuoter
The basic path type
data Path (t :: PathType) Source #
A canonicalized file path
Converting between ByteString
and Path
Operations on paths
Template Haskell stuff
absp :: QuasiQuoter Source #
relp :: QuasiQuoter Source #