lean-bindings-0.1: Haskell bindings to the Lean Theorem Prover.

Copyright(c) Galois Inc, 2015
LicenseApache-2
Maintainerjhendrix@galois.com, lcasburn@galois.com
Safe HaskellTrustworthy
LanguageHaskell98

Language.Lean.Internal.Options

Contents

Description

Internal declarations for Lean options and typeclass instances for Options type.

Synopsis

Documentation

data Options Source

A set of Lean configuration options

emptyOptions :: Options Source

An empty set of options

joinOptions :: Options -> Options -> Options Source

Combine two options where the assignments from the second argument override the assignments from the first.

Low level FFI interfaces.

type OptionsPtr = Ptr Options Source

Haskell type for lean_options FFI parameters.

type OutOptionsPtr = Ptr OptionsPtr Source

Haskell type for lean_options* FFI parameters.

withOptions :: Options -> (Ptr Options -> IO a) -> IO a Source

Function c2hs uses to pass Options values to Lean