Data.Has
Description
Provides some pliant data types and functions.
Documentation
Provides plient function. Holds e == prj (inj e s)
for all s
and e
.
Methods
Injects a value of type e
into s
if s
contains the type e
.
Projects a value of type e
out from s
if s
contains the type e
.
Instances
(MayHas e s, Contains e s TyTrue) => Has e s |