ats-pkg-2.10.2.2: A build tool for ATS

Safe HaskellNone
LanguageHaskell2010

Distribution.ATS

Contents

Synopsis

Types

newtype Version :: * #

Constructors

Version [Integer] 

Instances

Eq Version 

Methods

(==) :: Version -> Version -> Bool #

(/=) :: Version -> Version -> Bool #

Ord Version 
Show Version 
Generic Version 

Associated Types

type Rep Version :: * -> * #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

NFData Version 

Methods

rnf :: Version -> () #

Binary Version 

Methods

put :: Version -> Put #

get :: Get Version #

putList :: [Version] -> Put #

type Rep Version 
type Rep Version = D1 * (MetaData "Version" "Data.Dependency.Type" "dependency-1.1.0.0-IZQYsVs8pnaJGm8LXnXk1G" True) (C1 * (MetaCons "Version" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Integer])))

data ATSDependency Source #

Constructors

ATSDependency 

Fields

Libraries

libgmp :: Version -> ATSDependency Source #

GMP bindings for ATS

intinf :: Version -> ATSDependency Source #

Arbitrary-precision arithmetic library for ATS

Cabal helper functions

cabalHooks :: UserHooks Source #

This uses the users hooks as is simpleUserHooks, modified to build the ATS library.

atsUserHooks Source #

Arguments

:: [ATSDependency]

List of ATS dependencies

-> UserHooks 

This generates user hooks for a Cabal distribution that has some ATS library dependencies. This will *not* do anything with the ATS source files, but it *will* download any files necessary for the bundled C to compile.

atsPolyglotBuild :: IO () Source #

Use this in place of defaultMain for a simple build.