BSD-3-Clause licensed by Matt Parsons
Maintained by [email protected]
This version can be pinned in stack with:prairie-0.0.4.0@sha256:d94c926d50d5d15e7dbefe992ad6cf01fc391183c19c9027d27281e4e7a4a2b6,2085

prairie

Build Status

A library for first class record fields.

Changes

Changelog for prairie

0.0.4.0

  • #13
    • Introduce Prairie.Semigroup, allowing you to combine two records by semigroup-appending their fields together.
    • Introduce Prairie.Zip, allowing you to combine two records by specifying how to combine their fields. This fuels Prairie.Semigroup.
    • Introduce Prairie.Monoid, allowing you to make an emptyRecord with mempty at each field.
    • Introduce Prairie.AsRecord, allowing you to derive instances for records based on their Record and FieldDict instances.

0.0.3.0

  • #8
    • The Prairie.Fold module is introduced, allowing you to fold records.
    • The Prairie.Traverse module is introduced, allowing you to traverse over records.

0.0.2.1

  • #6
    • Bump upper bound for TemplateHaskell, supporting up to GHC 9.8
    • Fix string literals in docs that were quoted as module names

0.0.2.0

  • #2
    • Add tabulateRecordA to Record class. tabulate and allFields are now normal functions.
    • Provide a default implementation of recordFieldLabel for Showable fields.

0.0.1.1

  • #4
    • Compatibility with template-haskell-2.18 and above