Top-1.7: Constraint solving framework employed by the Helium Compiler.

Safe HaskellSafe-Infered

Top.Types.Kinds

Description

Kinds can be represented by a type.

Synopsis

Documentation

type Kind = TpSource

type Kinds = [Kind]Source

star :: KindSource

Star is the kind of all values.

defaultToStar :: Kind -> KindSource

In traditional kind inference systems, a kind cannot contain variables. At some point in the inference process the kind variables are defaulted to star.

showKind :: Kind -> StringSource

A function to show kinds.