can-i-haz-0.2.1.0: Generic implementation of the Has and CoHas patterns

Safe HaskellSafe
LanguageHaskell2010

Data.Path

Documentation

data Path Source #

Constructors

L Path 
R Path 
Here 
Instances
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
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