We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80a13c5 commit 207e3d3Copy full SHA for 207e3d3
1 file changed
run
@@ -214,15 +214,18 @@ run() {
214
ruby "$FILE"
215
216
elif [[ ${FILE#*.} == hs ]]; then
217
- if [[ $COMPILE == true ]]; then
+ if [[ $DEBUG == true ]]; then
218
+ ghci "$FILE"
219
+ elif [[ $COMPILE == true ]]; then
220
ghc --make "$FILE"
- if [[ $PERSISTENT != true ]]; then
- rm "${FILE%%.*}.o" "${FILE%%.*}.hi" "${FILE%%.*}"
221
- fi
222
else
223
runghc "$FILE"
224
fi
225
+ if [[ $PERSISTENT != true ]]; then
226
+ rm "${FILE%%.*}.o" "${FILE%%.*}.hi" "${FILE%%.*}"
227
+ fi
228
+
229
230
_ERROR_UFTC_
231
_EXIT_
0 commit comments