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