haskell - haskellformac , why use 'runhaskell' command? -
reading http://blog.haskellformac.com/blog/running-command-line-programs : this requires installing haskell mac command line tools outlined in previous article. tools include command named runhaskell, runs haskell program in "script mode" — i.e., being interpreted, instead of compiled (much like, say, python interpreter runs python script). why provide tool run haskell in script mode ? as code being interpreted mean run slower in script mode ? yes, run slower, depending on application may not matter @ all. many interesting tasks don't in fact require lot of computations, wouldn't notice runtime difference between, say, java , ruby, though latter considered have worse performance. for such quick-run applications, what's rather more important startup time . interpreted languages, pretty immediate, whereas recompiling script can take considerable time. so, interpreting can indeed faster compiling, in practise! furthermore, because ...