Simplify and speed up Haskell module running
This commit is contained in:
parent
a109b57697
commit
9a9c2b3d95
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue