6 lines
158 B
Bash
6 lines
158 B
Bash
if [ "$EVAL_EXPR" = "true" ]; then
|
|
ghc -e "$1"
|
|
else
|
|
echo "$1" > program.hs
|
|
ghc -O0 -j +RTS -A128m -n2m -RTS program.hs >/dev/null && ./program
|
|
fi
|