glpk-hs-0.3.1: Comprehensive GLPK linear programming bindings

Control.Monad.LPMonad.Supply

Synopsis

Documentation

newtype Var Source

A type suitable for use as a linear program variable.

Constructors

Var 

Fields

varId :: Int
 

type VSupply = VSupplyT IdentitySource

A monad capable of supplying unique variables.

data VSupplyT m a Source

A monad transformer capable of supplying unique variables.