Move RelC class from HPath.Internal to HPath

This commit is contained in:
2016-05-30 13:02:34 +02:00
parent d15d7761c1
commit 08de2ebefb
2 changed files with 4 additions and 5 deletions

View File

@@ -24,6 +24,7 @@ module HPath
,Fn
,PathParseException
,PathException
,RelC
-- * PatternSynonyms/ViewPatterns
,pattern Path
-- * Path Parsing
@@ -89,6 +90,8 @@ data PathException = RootDirHasNoBasename
deriving (Show,Typeable)
instance Exception PathException
class RelC m
instance RelC Rel
instance RelC Fn

View File

@@ -3,8 +3,7 @@
-- | Internal types and functions.
module HPath.Internal
(Path(..)
,RelC)
(Path(..))
where
import Control.DeepSeq (NFData (..))
@@ -50,6 +49,3 @@ instance Show (Path b) where
instance NFData (Path b) where
rnf (MkPath x) = rnf x
class RelC m