speculate-0.4.0: discovery of properties about Haskell functions

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

Test.Speculate.Function.A1000

Contents

Description

This module is part of Speculate.

This module exports a Listable instance for functions along with two toy Eq and Ord instances for functions based on 1000 sample return values.

Orphan instances

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

Methods

(==) :: (a -> b) -> (a -> b) -> Bool #

(/=) :: (a -> b) -> (a -> b) -> Bool #

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

Methods

compare :: (a -> b) -> (a -> b) -> Ordering #

(<) :: (a -> b) -> (a -> b) -> Bool #

(<=) :: (a -> b) -> (a -> b) -> Bool #

(>) :: (a -> b) -> (a -> b) -> Bool #

(>=) :: (a -> b) -> (a -> b) -> Bool #

max :: (a -> b) -> (a -> b) -> a -> b #

min :: (a -> b) -> (a -> b) -> a -> b #