Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Check that a value definition does not violate any consumption constraints.
Synopsis
- checkValDef :: (VName, [Pat ParamType], Exp, ResRetType, Maybe (TypeExp Exp VName), SrcLoc) -> ((Exp, ResRetType), [TypeError])