-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathSegNode.hs
More file actions
37 lines (33 loc) · 956 Bytes
/
SegNode.hs
File metadata and controls
37 lines (33 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-- |
-- Module : Streamly.FileSystem.Path.SegNode
-- Copyright : (c) 2023 Composewell Technologies
-- License : BSD3
-- Maintainer : streamly@composewell.com
-- Portability : GHC
--
-- Use 'Rooted' or 'Branch' path segment type annotations as well as 'File' and
-- 'Dir' node type annotations on the same path for the safety of path append
-- operation. A Rooted path cannot be appended to other paths, and you canno
-- append a path to a 'File' type path.
--
-- See the overview in the "Streamly.FileSystem.Path" module for more details.
--
module Streamly.FileSystem.Path.SegNode
(
-- * Statically Verified Path Literals
-- | Quasiquoters.
rtdir
, brdir
, rtfile
, brfile
-- * Statically Verified Path Strings
-- | Template Haskell expression splices.
, rtdirE
, brdirE
, rtfileE
, brfileE
-- * Operations
, extend
)
where
import Streamly.Internal.FileSystem.Path.SegNode