aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2014-10-07 11:10:34 +1100
committerJustin Bedo <cu@cua0.org>2014-10-07 11:13:10 +1100
commit35b43189d5a262860ad84da43928eeb7b1894420 (patch)
tree6d47c17e7afcdd77a42ee94bbd12453f34640bab
parentfd68822fda2472f676d835d80d6b17668e52ee45 (diff)
Exported LPSolve module
-rw-r--r--LinProg.cabal2
-rw-r--r--Math/LinProg/LPSolve.hs5
2 files changed, 5 insertions, 2 deletions
diff --git a/LinProg.cabal b/LinProg.cabal
index 4619ea8..5ee19ba 100644
--- a/LinProg.cabal
+++ b/LinProg.cabal
@@ -16,7 +16,7 @@ build-type: Simple
cabal-version: >=1.10
library
- exposed-modules: Math.LinProg.Types, Math.LinProg.LP
+ exposed-modules: Math.LinProg.Types, Math.LinProg.LP, Math.LinProg.LPSolve
-- other-modules:
other-extensions: DeriveFunctor, FlexibleInstances, FlexibleContexts, UndecidableInstances, TemplateHaskell, ScopedTypeVariables
build-depends: base >=4.7 && <4.8, recursion-schemes >=4.1 && <4.2, free >=4.9 && <4.10, containers >=0.5 && <0.6, lens >=4.4 && <4.5, mtl >=2.1 && <2.2
diff --git a/Math/LinProg/LPSolve.hs b/Math/LinProg/LPSolve.hs
index 23c3949..85f536d 100644
--- a/Math/LinProg/LPSolve.hs
+++ b/Math/LinProg/LPSolve.hs
@@ -1,6 +1,9 @@
{-# LANGUAGE ViewPatterns #-}
-module Math.LinProg.LPSolve where
+module Math.LinProg.LPSolve (
+ solve
+ ,ResultCode(..)
+) where
import Control.Applicative
import Control.Monad