| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
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
- data ValidDeclaration = ValidDeclaration {}
- newtype ValidSignature = ValidSignature {}
- filterSignatures :: [ValidDeclaration] -> [ValidSignature]
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.