free-theorems-0.3.2.1: Automatic generation of free theorems.
Safe HaskellSafe-Inferred
LanguageHaskell98

Language.Haskell.FreeTheorems.ValidSyntax

Description

Declares data types which describe valid declarations and valid type signatures. A declaration or type signature is valid when all checks (see Language.Haskell.FreeTheorems.Frontend) were passed successfully.

Synopsis

Documentation

data ValidDeclaration Source #

Marks a valid declaration.

Constructors

ValidDeclaration 

Fields

newtype ValidSignature Source #

Marks a valid type signature.

Constructors

ValidSignature 

Fields

filterSignatures :: [ValidDeclaration] -> [ValidSignature] Source #

Extracts all type signatures from a list of declarations.