extensible-0.9.2: Extensible, efficient, optics-friendly data types and effects
Copyright(c) Fumiaki Kinoshita 2018
LicenseBSD3
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Extensible.Label

Description

Experimental API for OverloadedLabels. GHC 8.0+ only

Orphan instances

(Extensible f p e, Lookup xs k v, Wrapper h, ExtensibleConstr e xs (Field h :: Assoc Symbol v -> Type) (k ':> v), rep ~ Repr h v, s ~ e xs (Field h :: Assoc Symbol v -> Type), s ~ t, rep ~ rep') => IsLabel k (p rep (f rep') -> p s (f t)) Source # 
Instance details

Methods

fromLabel :: p rep (f rep') -> p s (f t) #