ddc-core-0.4.3.1: Disciplined Disciple Compiler core language and type checker.

Safe HaskellSafe
LanguageHaskell98

DDC.Core.Collect.FreeT

Contents

Synopsis

Documentation

class FreeVarConT c where Source #

Minimal complete definition

freeVarConT

Methods

freeVarConT :: Ord n => KindEnv n -> c n -> (Set (Bound n), Set (Bound n)) Source #

Collect the free type variables and constructors used in a thing.

Instances

FreeVarConT Type Source # 

Methods

freeVarConT :: Ord n => KindEnv n -> Type n -> (Set (Bound n), Set (Bound n)) Source #

freeVarsT :: Ord n => KindEnv n -> Type n -> Set (Bound n) Source #

Collect the free type variables in a type.

Orphan instances