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

Safe HaskellNone
LanguageHaskell2010

FreeC.Backend.Agda.Converter.Arg

Description

This module contains functions for generating Agda function, constructor and type arguments from our intermediate representation.

Synopsis

Documentation

convertTypeVarDecl :: TypeVarDecl -> Converter Name Source #

Utility function for introducing a new Agda type variable to the current scope.

convertArg :: VarPat -> Converter QName Source #

Converts a given VarPat by defining a new Agda variable with the same name in the current scope.