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.Options

Description

Operations for Lean options

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.

nullOptions :: Options -> Bool Source

Returns true if options are empty.

containsOption :: Options -> Name -> Bool Source

Indicate whether name is set in the lean options.

boolOption :: Name -> Simple Lens Options Bool Source

Access the lean option with the given name as a Boolean.

doubleOption :: Name -> Simple Lens Options Double Source

Access the lean option with the given name as a floating point value.

intOption :: Name -> Simple Lens Options Int32 Source

Access the lean option with the given name as a signed integer.

uintOption :: Name -> Simple Lens Options Word32 Source

Access the lean option with the given name as an unsigned integer.

stringOption :: Name -> Simple Lens Options String Source

Access the lean option with the given name as a string.