purescript-0.6.1.1: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.TypeChecker.Entailment

Description

Type class entailment

Synopsis

Documentation

entails :: Environment -> ModuleName -> [TypeClassDictionaryInScope] -> (Qualified ProperName, [Type]) -> Bool -> Check Expr Source

Check that the current set of type class dictionaries entail the specified type class goal, and, if so, return a type class dictionary reference.