can-i-haz-0.3.1.1: Generic implementation of the Has and CoHas patterns
Safe HaskellSafe
LanguageHaskell2010

Data.Path

Documentation

data Path Source #

Constructors

L Path 
R Path 
Here 

Instances

Instances details
Show Path Source # 
Instance details

Defined in Data.Path

Methods

showsPrec :: Int -> Path -> ShowS #

show :: Path -> String #

showList :: [Path] -> ShowS #

data MaybePath Source #

Constructors

NotFound 
Conflict 
Found Path 

Instances

Instances details
Show MaybePath Source # 
Instance details

Defined in Data.Path

type family Combine p1 p2 where ... Source #

Equations

Combine ('Found path) 'NotFound = 'Found ('L path) 
Combine 'NotFound ('Found path) = 'Found ('R path) 
Combine 'NotFound 'NotFound = 'NotFound 
Combine _ _ = 'Conflict