purescript-0.11.3: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.TypeChecker.TypeSearch

Documentation

typeSearch Source #

Arguments

:: Maybe [(Ident, InstanceContext, Constraint)]

Additional constraints we need to satisfy

-> Environment

The Environment which contains the relevant definitions and typeclasses

-> CheckState

The typechecker state

-> Type

The type we are looking for

-> ([(Qualified Text, Type)], Maybe [(Label, Type)])