katydid-0.4.0.2: A haskell implementation of Katydid

Safe HaskellSafe
LanguageHaskell2010

Data.Katydid.Relapse.Zip

Description

This is an internal relapse module.

It zips patterns to reduce the state space.

Synopsis

Documentation

data Zipper Source #

Zipper represents compressed indexes that resulted from compressing a list of patterns. This can be used to uncompress a list of bools (nullability of patterns).

Instances
Eq Zipper Source # 
Instance details

Defined in Data.Katydid.Relapse.Zip

Methods

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

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

Ord Zipper Source # 
Instance details

Defined in Data.Katydid.Relapse.Zip

zippy :: [Pattern] -> ([Pattern], Zipper) Source #

zippy compresses a list of patterns.

unzipby :: Zipper -> [Bool] -> [Bool] Source #

unzipby uncompresses a list of bools (nullability of patterns).