Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Synopsis
- class Private ar => AbsRel ar where
- switchAbsRel :: f Abs -> f Rel -> f AbsRel -> f ar
- class AbsRel ar => AbsOrRel ar where
- switchAbsOrRel :: f Abs -> f Rel -> f ar
- class Private fd => FileDir fd where
- switchFileDir :: f File -> f Dir -> f FileDir -> f fd
- class FileDir fd => FileOrDir fd where
- switchFileOrDir :: f File -> f Dir -> f fd
Documentation
class Private ar => AbsRel ar where Source #
This class allows selective behaviour for absolute and relative paths and is mostly for internal use.
switchAbsRel :: f Abs -> f Rel -> f AbsRel -> f ar Source #
See https://wiki.haskell.org/Closed_world_instances for the used technique.
Instances
AbsRel AbsRel Source # | |
Defined in System.Path.Internal.PartClass | |
AbsRel Rel Source # | |
Defined in System.Path.Internal.PartClass | |
AbsRel Abs Source # | |
Defined in System.Path.Internal.PartClass |
class Private fd => FileDir fd where Source #
This class allows selective behaviour for file and directory paths and is mostly for internal use.
Instances
FileDir FileDir Source # | |
Defined in System.Path.Internal.PartClass | |
FileDir Dir Source # | |
Defined in System.Path.Internal.PartClass | |
FileDir File Source # | |
Defined in System.Path.Internal.PartClass |