lens-labels-0.2.0.0: Integration of lenses with OverloadedLabels.

Lens.Labels.Unwrapped

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 Lens.Labels.HasLens with the label "foo"."

This can eliminate the need to call runLens when working with libraries like lens, microlens, or lens-family.

Orphan instances

 IsLabel x (LensFn p q) => IsLabel x (p -> q) Source # MethodsfromLabel :: p -> q #