free-compiler-0.3.0.0: A Haskell to Coq compiler.

Safe HaskellSafe
LanguageHaskell2010

FreeC.IR.Syntax.TypeVarDecl

Description

This module contains the definition of type variable declarations of our intermediate language.

Synopsis

Documentation

data TypeVarDecl Source #

The name of a type variable declaration in the head of a data type or type synonym declaration including location information.

Instances
Eq TypeVarDecl Source # 
Instance details

Defined in FreeC.IR.Syntax.TypeVarDecl

Show TypeVarDecl Source # 
Instance details

Defined in FreeC.IR.Syntax.TypeVarDecl

Pretty TypeVarDecl Source #

Pretty instance for type variable declaration.

Instance details

Defined in FreeC.IR.Syntax.TypeVarDecl

typeVarDeclToType :: TypeVarDecl -> Type Source #

Converts the declaration of a type variable to a type.

typeVarDeclName :: TypeVarDecl -> Name Source #

Gets the name of the type variable declared by the given type variable declaration.

typeVarDeclQName :: TypeVarDecl -> QName Source #

Gets the unqualified name of the type variable declared by the given type variable declaration.