leancheck-0.7.3: Enumerative property-based testing

Copyright(c) 2015-2018 Rudy Matela
License3-Clause BSD (see the file LICENSE)
MaintainerRudy Matela <rudy@matela.com.br>
Safe HaskellNone
LanguageHaskell2010

Test.LeanCheck.Function.Listable.ListsOfPairs

Contents

Description

This module is part of LeanCheck, a simple enumerative property-based testing library.

This module exports a Listable instance for function enumeration via lists of pairs.

This module considers functions as a finite list of exceptional input-output cases to a default value (list of pairs of arguments and results).

Orphan instances

(Eq a, Listable a, Listable b) => Listable (a -> b) Source # 
Instance details

Methods

tiers :: [[a -> b]] Source #

list :: [a -> b] Source #