| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.ProtoLens.Labels
Contents
Description
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()