From 9a9c2b3d9500e94fa1eb82792433f6abf6be197e Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Thu, 16 May 2019 22:13:47 -0400 Subject: [PATCH] Simplify and speed up Haskell module running --- docker/haskell/run.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docker/haskell/run.sh b/docker/haskell/run.sh index b33926a..c507413 100644 --- a/docker/haskell/run.sh +++ b/docker/haskell/run.sh @@ -4,10 +4,7 @@ else mkdir "$COUNT" && cd "$COUNT" echo "$1" > program.hs - ghc -O0 -j +RTS -A128m -n2m -RTS \ - -no-keep-o-files -no-keep-hi-files \ - program.hs >/dev/null \ - && ./program - + ghc -e main program.hs + cd .. && rm -rf "$COUNT" fi