Re:Use Haskell for shell scripting
by sbergot on Friday January 30, 2015 @06:06AM
(#8971463)
`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.
[ Parent
| on HN ]
There are no comments on this comment yet.