Witchcraft v0.5.0 Witchcraft.Monoid.Protocol protocol
TODO WRITE STUFF
Notes
You can of course abuse this protocol to define a fake ‘monoid’ that behaves differently. For the protocol to operate as intended, you need to respect the above properties.
Summary
Functions
Combine two members of the monoid, and return another member
Get the identity (‘zero’) element of the monoid by passing in any element of the set
Types
t :: term
Functions
Specs
append(any, any) :: any
Combine two members of the monoid, and return another member