@hackage multirec-alt-deriver0.1

Alternative multirec instances deriver

New features/changes:

  • Works with arbitrary monomorphic types, e.g. ([Int],String), not just names that refer to monomorphic types.

  • The names of the "proofs" (= constructors of the family GADT) are now specified by the user; they don't need to be equal to the name of the types to which they correspond. (This is useful if you're working with existing code where the name is already taken)

  • The names of the empty types corresponding to constructors are now also customizable

  • The type sums in the pattern functor are now balanced trees of (:+:) rather than right-nested lists. This cuts down the size of the value-level code (and hopefully helps with compilation time).