glpk-hs-0.3.4: Comprehensive GLPK linear programming bindings

Safe HaskellNone

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.

runVSupplyT :: Monad m => VSupplyT m a -> m aSource