From 7cdc10971d82235395f5794feb37719a4112cc80 Mon Sep 17 00:00:00 2001 From: mnru Date: Sat, 1 Dec 2012 23:40:08 +0900 Subject: [PATCH] change configuration for haskell platform (Linux) --- Dochi/Core.hs | 2 +- HowToInstall.txt | 16 ++++++++++++++++ dochi.cabal | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 HowToInstall.txt diff --git a/Dochi/Core.hs b/Dochi/Core.hs index d64c982..11892c8 100644 --- a/Dochi/Core.hs +++ b/Dochi/Core.hs @@ -14,7 +14,7 @@ import Data.List (intercalate, intersperse) import Data.Maybe (fromMaybe) import qualified Data.Map as M import Control.Monad.State -import Random +import System.Random diff --git a/HowToInstall.txt b/HowToInstall.txt new file mode 100644 index 0000000..dfd8a8c --- /dev/null +++ b/HowToInstall.txt @@ -0,0 +1,16 @@ +Install Dochi to Linux Mint14 (64bit) + +1 run the below 2 commandes in terminal + sudo apt-get update + sudo apt-get install haskell-platform libghc-editline-dev + +2 clone this reposiory by git + +3 run the below command in this directory + + cabal install + +4 add installed directory to path variable + (by default ,dochi is installed in $HOME/.dochi/bin) + +then you can run the command 'dochi' \ No newline at end of file diff --git a/dochi.cabal b/dochi.cabal index bcf9479..c0457e3 100644 --- a/dochi.cabal +++ b/dochi.cabal @@ -9,7 +9,7 @@ Build-Type: Simple Cabal-Version: >=1.2 library - Build-Depends: base, haskell98, mtl, containers, parsec, editline + Build-Depends: base, mtl, containers, parsec, editline, random GHC-Options: -fglasgow-exts Exposed-Modules: Dochi.Interpreter