Permalink
Browse files

Move Stepeval to Language.Haskell.Stepeval.

  • Loading branch information...
1 parent b036729 commit efe3f7de2664f080d7c8e7edced32d25a09cebe8 @chrisdone chrisdone committed Jul 2, 2011
Showing with 15 additions and 4 deletions.
  1. +1 −1 src/{ → Language/Haskell}/Stepeval.hs
  2. +2 −1 src/Main.hs
  3. +12 −2 stepeval.cabal
@@ -1,4 +1,4 @@
-module Stepeval (Scope, eval, itereval, printeval, stepeval) where
+module Language.Haskell.Stepeval (Scope, eval, itereval, printeval, stepeval) where
import Control.Arrow (first)
import Control.Applicative ((<$), (<$>), (<*>), (<|>))
View
@@ -1,5 +1,7 @@
module Main (cgiMain, cliMain, main) where
+import Language.Haskell.Stepeval
+
import Control.Applicative
import Control.Concurrent
import Control.Exception
@@ -8,7 +10,6 @@ import Data.Char
import Language.Haskell.Exts
import Numeric
import Prelude hiding (catch)
-import Stepeval
import System.Environment
import System.IO
import Text.Printf
View
@@ -29,6 +29,16 @@ Flag test
Description: Build the testing application
Default: False
+Library
+ Build-Depends: base >= 4 && < 4.4,
+ containers >= 0.1 && < 0.5,
+ haskell-src-exts >= 1.6 && < 1.11,
+ syb >= 0.1 && < 0.4
+ Exposed-modules: Language.Haskell.Stepeval
+ Other-modules: Parenthise
+ GHC-Options: -W
+ Hs-Source-Dirs: src
+
Executable stepeval
Build-Depends: base >= 4 && < 4.4,
containers >= 0.1 && < 0.5,
@@ -38,7 +48,7 @@ Executable stepeval
GHC-Options: -W
Hs-Source-Dirs: src
Main-is: Main.hs
- Other-Modules: Stepeval, Parenthise
+ Other-Modules: Language.Haskell.Stepeval, Parenthise
Executable test
Main-is: Test.hs
@@ -55,7 +65,7 @@ Executable test
GHC-Options: -W
Hs-Source-Dirs: src testsuite
- Other-Modules: Stepeval, Parenthise
+ Other-Modules: Language.Haskell.Stepeval, Parenthise
else
Buildable: False

0 comments on commit efe3f7d

Please sign in to comment.