pathtype-0.8.1: Type-safe replacement for System.FilePath etc

Safe HaskellSafe
LanguageHaskell98

System.Path.PartClass

Synopsis

Documentation

class Private ar => AbsRel ar where Source #

This class allows selective behaviour for absolute and relative paths and is mostly for internal use.

Minimal complete definition

switchAbsRel

Methods

switchAbsRel :: f Abs -> f Rel -> f AbsRel -> f ar Source #

Instances

AbsRel AbsRel Source # 

Methods

switchAbsRel :: f Abs -> f Rel -> f AbsRel -> f AbsRel Source #

AbsRel Rel Source # 

Methods

switchAbsRel :: f Abs -> f Rel -> f AbsRel -> f Rel Source #

AbsRel Abs Source # 

Methods

switchAbsRel :: f Abs -> f Rel -> f AbsRel -> f Abs Source #

class AbsRel ar => AbsOrRel ar where Source #

Minimal complete definition

switchAbsOrRel

Methods

switchAbsOrRel :: f Abs -> f Rel -> f ar Source #

Instances

AbsOrRel Rel Source # 

Methods

switchAbsOrRel :: f Abs -> f Rel -> f Rel Source #

AbsOrRel Abs Source # 

Methods

switchAbsOrRel :: f Abs -> f Rel -> f Abs Source #

class Private fd => FileDir fd where Source #

This class allows selective behaviour for file and directory paths and is mostly for internal use.

Minimal complete definition

switchFileDir

Methods

switchFileDir :: f File -> f Dir -> f FileDir -> f fd Source #

Instances

FileDir FileDir Source # 

Methods

switchFileDir :: f File -> f Dir -> f FileDir -> f FileDir Source #

FileDir Dir Source # 

Methods

switchFileDir :: f File -> f Dir -> f FileDir -> f Dir Source #

FileDir File Source # 

Methods

switchFileDir :: f File -> f Dir -> f FileDir -> f File Source #

class FileDir fd => FileOrDir fd where Source #

Minimal complete definition

switchFileOrDir

Methods

switchFileOrDir :: f File -> f Dir -> f fd Source #

Instances