Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sbergot
on Jan 30, 2015
|
parent
|
context
|
favorite
| on:
Use Haskell for shell scripting
`main` is the entry point of the program. Its type is `IO ()`. It is a warning to omit a type signature in a top level definition, so in a normal program you would have a `main :: IO ()` type definition. The `IO` allows any kind of effect.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: