Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides OverloadedLabels IsLabel
support via an
orphan instance. This means a Lens.Family.Lens
can be referenced
as #foo
whenever we have an instance of HasField
with the label "foo"
."
To use these labels, enable the OverloadedLabels
extension, and then
import:
import Data.ProtoLens.Labels()