extrapolate-0.3.1: generalize counter-examples of test properties

Copyright(c) 2017 Rudy Matela
License3-Clause BSD (see the file LICENSE)
MaintainerRudy Matela <rudy@matela.com.br>
Safe HaskellNone
LanguageHaskell2010

Test.Extrapolate.Exprs

Description

This module is part of Extrapolate, a library for generalization of counter-examples.

This module re-exports some functionality from Test.Speculate.Expr, but instead of working on single expressions it works in lists of expressions (the choosen representation for counter-examples).

Documentation

type Exprs = [Expr] #

grounds :: Instances -> [Expr] -> [[Expr]] #

vassignments :: [Expr] -> [[Expr]] #

vars :: [Expr] -> [(TypeRep, String)] #

fold :: [Expr] -> Expr #

unfold :: Expr -> [Expr] #