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

Safe HaskellNone
LanguageHaskell2010

FreeC.Backend.Coq.Converter.FuncDecl

Description

This module contains functions for generating Coq function declarations (in the form of Definition, Fixpoint and Section sentences) from our intermediate representation.

Synopsis

Documentation

convertFuncDecls :: [FuncDecl] -> Converter [Sentence] Source #

Converts the given function declarations.

convertFuncComponent :: DependencyComponent FuncDecl -> Converter [Sentence] Source #

Converts a strongly connected component of the function dependency graph.