Jump to content

Modulinos: Difference between revisions

Line 176:
 
=={{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
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.