Copyright | (c) 2015-2017 Rudy Matela |
---|---|
License | 3-Clause BSD (see the file LICENSE) |
Maintainer | Rudy Matela <rudy@matela.com.br> |
Safe Haskell | None |
Language | Haskell2010 |
Test.LeanCheck.Function.FunListable
Contents
Description
This module is part of LeanCheck, a simple enumerative property-based testing library.
This module exports a Listable
instance for function enumeration by means
of a FunListable
typeclass (similar to FunListable
).
This module does not currently work, it it just a sketch and a stub.
Documentation
sndArgTypeOf :: b -> (a -> b -> c) -> b #
class FunListable a where #
Minimal complete definition
Instances
FunListable Bool # | |
FunListable Int # | |
FunListable () # | |
FunListable Nat3 # | |
FunListable Nat2 # | |
FunListable Nat # | |
FunListable a => FunListable [a] # | |
FunListable a => FunListable (Maybe a) # | |
(FunListable a, FunListable b) => FunListable (Either a b) # | |
(FunListable a, FunListable b) => FunListable (a, b) # | |
Orphan instances
(FunListable a, Listable b) => Listable (a -> b) # | |