hs2ats-0.3.0.1: Create ATS types from Haskell types

Safe HaskellNone
LanguageHaskell2010

Language.ATS.Generate

Contents

Synopsis

Functions

generateATS Source #

Arguments

:: FilePath

Name of source file

-> String

Source file contents

-> ErrM (String, [GenerateError]) 

Given a string containing Haskell, return a string containing ATS and a list of warnings.

genATSTypes Source #

Arguments

:: FilePath

Haskell source file

-> FilePath

.sats file to be generated

-> Bool

Whether to use pre-process the Haskell source (use this if you use {-} anywhere)

-> IO () 

Types

data GenerateError Source #