From 20a2199bbf1de2d95fa446354880112bb2cf5f05 Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Tue, 28 May 2019 17:42:54 -0400 Subject: [PATCH] Add some imports to Haskell's expression mode --- docker/haskell/.ghci | 18 ++++++++++++++++++ docker/haskell/Dockerfile | 1 + 2 files changed, 19 insertions(+) create mode 100644 docker/haskell/.ghci diff --git a/docker/haskell/.ghci b/docker/haskell/.ghci new file mode 100644 index 0000000..009d2a5 --- /dev/null +++ b/docker/haskell/.ghci @@ -0,0 +1,18 @@ +import Data.Bool +import Data.Char +import Data.Either +import Data.Function +import Data.List +import Data.Maybe +import Data.Ord +import Control.Applicative +import Control.Monad + +import Data.Map (Map) +import qualified Data.Map as Map +import Data.Set (Set) +import qualified Data.Set as Set +import Data.Sequence (Seq) +import qualified Data.Sequence as Seq +import Data.Tree (Tree) +import qualified Data.Tree as Tree diff --git a/docker/haskell/Dockerfile b/docker/haskell/Dockerfile index ad6b169..a9678b0 100644 --- a/docker/haskell/Dockerfile +++ b/docker/haskell/Dockerfile @@ -11,4 +11,5 @@ RUN apt-get update && \ ENV PATH /opt/ghc/8.6.5/bin:$PATH +COPY .ghci $HOME/ COPY run.sh /var/run/