glpk-hs-0.3.5: Comprehensive GLPK linear programming bindings

Safe HaskellNone
LanguageHaskell98

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 Identity Source

A monad capable of supplying unique variables.

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