mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Update haskell.html.markdown
This commit is contained in:
parent
786158c138
commit
94f9e78079
@ -334,7 +334,7 @@ sayHello = do
|
||||
-- Exercise: write your own version of `interact`.
|
||||
|
||||
-- The code in `sayHello` will never be executed, however. The only
|
||||
-- action that ever gets executed is the value value of `main`.
|
||||
-- action that ever gets executed is the value of `main`.
|
||||
-- To run `sayHello` comment out the above definition of `main`
|
||||
-- and repalce it with:
|
||||
-- main = sayHello
|
||||
|
Loading…
Reference in New Issue
Block a user