diff --git a/djinn.cabal b/djinn.cabal
--- a/djinn.cabal
+++ b/djinn.cabal
@@ -1,5 +1,5 @@
 Name:		djinn
-Version:	2008.8.10
+Version:	2009.2.1
 License:	BSD3
 License-file:	LICENSE
 Author:		Lennart Augustsson
@@ -10,13 +10,13 @@
 Homepage:	http://www.augustsson.net/Darcs/Djinn/
 Synopsis:	Generate Haskell code from a type
 Build-type:	Simple
-Build-Depends:	base, mtl, readline, pretty, array, containers
+Build-Depends:	base, mtl, editline, pretty, array, containers
 
 Executable:     djinn
 Main-Is:        Djinn.hs
 Hs-Source-Dirs: src
 Other-modules:  Help, HCheck,  LJT, HTypes, LJTFormula, REPL
 
---ghc-options:         -O2 -Wall -Werror -optl-Wl
-ghc-options:         -Wall -optl-Wl
+ghc-options:         -O2 -Wall -optl-Wl
+--ghc-options:         -Wall -optl-Wl
 ghc-prof-options:    -prof -auto-all
diff --git a/src/Djinn.hs b/src/Djinn.hs
--- a/src/Djinn.hs
+++ b/src/Djinn.hs
@@ -21,6 +21,9 @@
 
 --import Debug.Trace
 
+version :: String
+version = "version 2009-02-01"
+
 main :: IO ()
 main = do
     args <- getArgs
@@ -85,9 +88,6 @@
        clss = [("Eq", (["a"], [("==", a `HTArrow` (a `HTArrow` HTCon "Bool"))]))]
        a = HTVar "a"
 
-
-version :: String
-version = "version 2008-08-10"
 
 inIt :: State -> IO (String, State)
 inIt state = do
diff --git a/src/REPL.hs b/src/REPL.hs
--- a/src/REPL.hs
+++ b/src/REPL.hs
@@ -4,7 +4,7 @@
 --
 module REPL(REPL(..), repl) where
 import qualified Control.Exception
-import System.Console.Readline(readline, addHistory)
+import System.Console.Editline.Readline(readline, addHistory)
 
 data REPL s = REPL {
     repl_init :: IO (String, s),                -- prompt and initial state
