Structure of a main script with let and do syntax. Save in a script e.g. example.hs
|
|
To compile and run we use stack exec -- runghc example.hs
Structure of a main script with let and do syntax. Save in a script e.g. example.hs
|
|
To compile and run we use stack exec -- runghc example.hs