Move RelC class from HPath.Internal to HPath
This commit is contained in:
parent
d15d7761c1
commit
08de2ebefb
@ -24,6 +24,7 @@ module HPath
|
|||||||
,Fn
|
,Fn
|
||||||
,PathParseException
|
,PathParseException
|
||||||
,PathException
|
,PathException
|
||||||
|
,RelC
|
||||||
-- * PatternSynonyms/ViewPatterns
|
-- * PatternSynonyms/ViewPatterns
|
||||||
,pattern Path
|
,pattern Path
|
||||||
-- * Path Parsing
|
-- * Path Parsing
|
||||||
@ -89,6 +90,8 @@ data PathException = RootDirHasNoBasename
|
|||||||
deriving (Show,Typeable)
|
deriving (Show,Typeable)
|
||||||
instance Exception PathException
|
instance Exception PathException
|
||||||
|
|
||||||
|
class RelC m
|
||||||
|
|
||||||
instance RelC Rel
|
instance RelC Rel
|
||||||
instance RelC Fn
|
instance RelC Fn
|
||||||
|
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
-- | Internal types and functions.
|
-- | Internal types and functions.
|
||||||
|
|
||||||
module HPath.Internal
|
module HPath.Internal
|
||||||
(Path(..)
|
(Path(..))
|
||||||
,RelC)
|
|
||||||
where
|
where
|
||||||
|
|
||||||
import Control.DeepSeq (NFData (..))
|
import Control.DeepSeq (NFData (..))
|
||||||
@ -50,6 +49,3 @@ instance Show (Path b) where
|
|||||||
instance NFData (Path b) where
|
instance NFData (Path b) where
|
||||||
rnf (MkPath x) = rnf x
|
rnf (MkPath x) = rnf x
|
||||||
|
|
||||||
|
|
||||||
class RelC m
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user