Skip to content

Implement the ShrinkIndex algebra #57

@isovector

Description

@isovector

At the very least, we will want:

data ShrinkIndex
data ShrinkTree a

makeShrinkTree :: (a -> [a]) -> a -> ShrinkTree a
lookup :: ShrinkIndex -> ShrinkTree a -> Maybe a

plus the extend and succ operations discussed previously.

Ideally tests will be provided showing that these operations behave as we expect them to.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions