Table of Contents

First Haskell programs

Explanation, step by step

first line declares that function ''main'' has type ''IO ()''

second line declares that function ''main'' equals to ''print 'x'''

default package is Prelude