Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- shouldNotTypecheck :: NFData a => a -> Assertion
Documentation
shouldNotTypecheck :: NFData a => a -> Assertion Source
Takes one argument, an expression that should not typecheck. It will fail the test if the expression does typecheck. Requires Deferred Type Errors to be enabled for the file it is called in. See the README for examples and more infomation.