prairie-0.0.4.0: A first class record field library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Prairie.Semigroup

Description

This module provides the ability to append two records using (<>), provided that all of their fields have an instance of Semigroup.

Synopsis

Documentation

appendRecord :: forall rec. (Record rec, FieldDict Semigroup rec) => rec -> rec -> rec Source #

Zip two records together using a Semigroup append.

Since: 0.0.4.0