lazy-search-0.1.0.0: Finds values satisfying a lazy predicate

Safe HaskellNone
LanguageHaskell2010

Data.Coolean

Description

Proper documentation is TBD

Synopsis

Documentation

data Cool Source #

Concurrent booleans. Writing properties with the Cool data type often yields faster searches compared to Bool.

Constructors

Atom Bool 
Not Cool 
And Cool Cool 
Seq Cool Cool

Sequential conjunction, the second operator is not evaluated unless the first is true.

Instances

(&&&) :: (Coolean a, Coolean b) => a -> b -> Cool infixr 2 Source #

(|||) :: (Coolean a, Coolean b) => a -> b -> Cool Source #

nott :: Coolean a => a -> Cool Source #

(==>) :: (Coolean a, Coolean b) => a -> b -> Cool Source #

(!=>) :: (Coolean a, Coolean b) => a -> b -> Cool Source #

(!&&) :: (Coolean a, Coolean b) => a -> b -> Cool Source #

(!||) :: (Coolean a, Coolean b) => a -> b -> Cool Source #

class Coolean b where Source #

Provides better interoperability between Bool and Cool by overloading operators.

Minimal complete definition

toCool, toBool, isCool

Methods

toCool :: b -> Cool Source #

toBool :: b -> Bool Source #

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

Instances

data Sched Source #

Constructors

Flip Bool Sched Sched 
Unsched 

Instances

Eq Sched Source # 

Methods

(==) :: Sched -> Sched -> Bool #

(/=) :: Sched -> Sched -> Bool #

Show Sched Source # 

Methods

showsPrec :: Int -> Sched -> ShowS #

show :: Sched -> String #

showList :: [Sched] -> ShowS #