Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 # | |
Monad m => Serial m Text Source # | |
Monad m => Serial m ByteString Source # | |
series :: Series m ByteString # | |
Monad m => Serial m ByteString Source # | |
series :: Series m ByteString # | |
Monad m => CoSerial m Text Source # | |
Monad m => CoSerial m Text Source # | |
Monad m => CoSerial m ByteString Source # | |
coseries :: Series m b -> Series m (ByteString -> b) # | |
Monad m => CoSerial m ByteString Source # | |
coseries :: Series m b -> Series m (ByteString -> b) # | |
(Num a, Ord a, Serial m a, Serial Identity a) => Serial m (Set a) Source # | |
(Serial m k, Serial m v) => Serial m (Map k v) Source # | |
(Ord k, CoSerial m k, CoSerial m v) => CoSerial m (Map k v) Source # | |