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 38
|
-- |
-- Module : Foundation.VFS.URI
-- License : BSD-style
-- Maintainer : foundation
-- Stability : experimental
-- Portability : portable
--
module Foundation.VFS.URI
( URI(..)
, URISchema(..)
, URIAuthority(..)
, URIQuery(..)
, URIFragment(..)
, URIPath(..)
) where
import Basement.Compat.Base
import Foundation.VFS.Path(Path(..))
-- ------------------------------------------------------------------------- --
-- URI --
-- ------------------------------------------------------------------------- --
-- | TODO this is not implemented yet
data URI = URI
data URISchema = URISchema
data URIAuthority = URIAuthority
data URIQuery = URIQuery
data URIFragment = URIFragment
data URIPath = URIPath
instance Path URI where
type PathEnt URI = URIPath
type PathPrefix URI = (URISchema, URIAuthority)
type PathSuffix URI = (URIQuery, URIFragment)
(</>) = undefined
splitPath = undefined
buildPath = undefined
|