incremental-parser-0.2: Generic parser library capable of providing partial results from partial input.

Safe HaskellSafe-Infered

Data.Monoid.Null

Contents

Description

This module defines the MonoidNull class.

Synopsis

Classes

class Monoid m => MonoidNull m whereSource

Extension of Monoid that allows testing a value for equality with mempty. The following law must hold:

 mnull == (== mempty)

Methods

mnull :: m -> BoolSource