iterable-2.0: API for hierarchical multilevel collections.

Safe HaskellNone

Data.Iterable.Instantiate.Vector

Description

Helpers for instantiating Iterable for types with Vector containers.

Synopsis

Documentation

gen_vector_iterable :: Q Type -> Q Type -> Q Exp -> Q Exp -> DecsQSource

Generates a direct instance of iterable between $typA and $typB with given names of getter and setter, so that: $getter :: $typA -> $typB $setter :: $typB -> $typA -> $typA