smallcheck-series-0.6.1.1: Extra SmallCheck series and utilities

Safe HaskellSafe
LanguageHaskell2010

Test.SmallCheck.Series.Instances

Contents

Description

Serial instances are provided for the following types:

By default the most exhaustive series are provided which can lead to combinatorial explosion if you are not careful. In such case, you may want to use the functions provided in the other modules in this package to create your own custom series.

Make sure the module where you import these instances will not be imported, otherwise you might get conflicts between orphan instances defined in different modules.

Orphan instances

Monad m => Serial m Text Source # 
Instance details

Methods

series :: Series m Text #

Monad m => Serial m Text Source # 
Instance details

Methods

series :: Series m Text #

Monad m => Serial m ByteString Source # 
Instance details

Monad m => Serial m ByteString Source # 
Instance details

Monad m => CoSerial m Text Source # 
Instance details

Methods

coseries :: Series m b -> Series m (Text -> b) #

Monad m => CoSerial m Text Source # 
Instance details

Methods

coseries :: Series m b -> Series m (Text -> b) #

Monad m => CoSerial m ByteString Source # 
Instance details

Methods

coseries :: Series m b -> Series m (ByteString -> b) #

Monad m => CoSerial m ByteString Source # 
Instance details

Methods

coseries :: Series m b -> Series m (ByteString -> b) #

(Serial m k, Serial m v) => Serial m (Map k v) Source # 
Instance details

Methods

series :: Series m (Map k v) #

(Ord k, CoSerial m k, CoSerial m v) => CoSerial m (Map k v) Source # 
Instance details

Methods

coseries :: Series m b -> Series m (Map k v -> b) #