Array-backed extensible records.
Array-backed extensible records, providing fast access and mutation
microgroove
Microgroove supports type-safe positional heterogeneous records similar to vinyl and SOP. Unlike these record types which are represented by linked lists, microgroove
's Rec
type is backed by arrays, and so support constant-time indexing and mutable updates via the associated MRec
type.
Microgroove can be used for lightweight statically specified polymorphic records just like vinyl
, but also dynamic record types that are only provided at run-time, such as receiving an arbitrary JSON protocol.
build
The recommended way to build microgroove is via stack with stack build
contribute
microgroove is an early alpha, so please submit any bugs or feature requests on the issue tracker.