Modulinos: Difference between revisions

Content added Content deleted
Line 176: Line 176:


=={{header|Haskell}}==
=={{header|Haskell}}==
Haskell has scripted main, but not for compiled scripts. This is because the primary script must be a module Main, creating a name conflict.
Haskell has scripted main by default.


<lang haskell>#!/usr/bin/env runhaskell
<lang haskell>#!/usr/bin/env runhaskell