-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Chris Done's path library, enriched with URL-related goodies.
--
-- Chris Done's path library, enriched with URL-related goodies.
@package path-extra
@version 0.0.1
module Path.Extended
-- | A location for some base and type - internally uses Path.
data Location b t
type QueryParam = (String, Maybe String)
-- | Prepend a parental accessor path - ../
addParent :: Location Rel t -> Location Rel t
delParent :: Location Rel t -> Location Rel t
-- | This should be your entry point for creating a Location.
fromPath :: Path b t -> Location b t
setFileExt :: Maybe String -> Location b File -> Location b File
addFileExt :: String -> Location b File -> Location b File
delFileExt :: Location b File -> Location b File
getFileExt :: Location b File -> Maybe String
setQuery :: [QueryParam] -> Location b t -> Location b t
-- | Appends a query parameter
addQuery :: QueryParam -> Location b t -> Location b t
(<&>) :: Location b t -> QueryParam -> Location b t
addQueries :: [QueryParam] -> Location b t -> Location b t
delQuery :: Location b t -> Location b t
getQuery :: Location b t -> [QueryParam]
setFragment :: Maybe String -> Location b t -> Location b t
addFragment :: String -> Location b t -> Location b t
(<#>) :: Location b t -> String -> Location b t
delFragment :: Location b t -> Location b t
instance GHC.Classes.Ord (Path.Extended.Location b t)
instance GHC.Classes.Eq (Path.Extended.Location b t)
instance GHC.Show.Show (Path.Extended.Location b t)