Streamly.FileSystem.Path.Node
Types
Instances
IsNode (Dir a) Source # | |
Defined in Streamly.Internal.FileSystem.PosixPath.Node | |
IsNode (File a) Source # | |
Defined in Streamly.Internal.FileSystem.PosixPath.Node |
Statically Verified Path Literals
Quasiquoters.
dir :: QuasiQuoter Source #
Generates a Dir PosixPath
type from a quoted literal.
>>>
Path.toString ([dir|usr|] :: Dir PosixPath)
"usr"
file :: QuasiQuoter Source #
Generates a File PosixPath
type from a quoted literal.
>>>
Path.toString ([file|usr|] :: File PosixPath)
"usr"
Statically Verified Path Strings
Template Haskell expression splices.