Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class CheckScope (c :: Constraint) where
- checkScope :: Either BadTypeForScope (Dict c)
Documentation
class CheckScope (c :: Constraint) where Source #
Should be present for common scopes.
checkScope :: Either BadTypeForScope (Dict c) Source #
Check that constraint hold for a given type.