Data.Diverse.Many is an extensible record for any size encoded efficiently as (Seq Any). Data.Diverse.Which is a polymorphic variant of possibilities encoded as (Int, Any). Provides getters, setters, projection, injection, folds, and catamorphisms; accessed by type, index or label. Refer to ManySpec.hs and WhichSpec.hs for example usages. Iso, Lens and Prisms are provided in data-diverse-lens


Keywords
data, library, records, Propose Tags , Data.Diverse.Many, Data.Diverse.Which, ManySpec.hs, WhichSpec.hs, data-diverse-lens, Skip to Readme, Index, Quick Jump, Data.Diverse, Data.Diverse.AFoldable, Data.Diverse.AFunctor, Data.Diverse.ATraversable, Data.Diverse.Case, Data.Diverse.CaseFunc, Data.Diverse.CaseIxed, Data.Diverse.Cases, Data.Diverse.Many.Internal, Data.Diverse.Reduce, Data.Diverse.Reiterate, Data.Diverse.TypeLevel, Data.Diverse.TypeLevel.Internal, Data.Diverse.Which.Internal, data-diverse-4.7.1.0.tar.gz, browse, Package description, Package maintainers, louispan, edit package information
License
BSD-3-Clause
Install
cabal install data-diverse-0.5.0.0

Documentation

Hackage Build Status

"Data.Diverse.Many" is an extensible record for any size encoded efficiently as (Seq Any).

"Data.Diverse.Which" polymorphic variant of possibilities encoded as (Int, Any).

Provides getters, setters, projection, injection, folds, and catamorphisms; accessed by type or index or label.

Refer to ManySpec.hs and WhichSpec.hs for example usages.

Iso, Lens and Prisms are provided in data-diverse-lens