Talk:Learn Haskell in 10 minutes
From HaskellWiki
(Difference between revisions)
(hurry slowly) |
(let in GHCi) |
||
| (3 intermediate revisions not shown.) | |||
| Line 2: | Line 2: | ||
:Yes - I agree with Conal and have done a start, albeit without renaming the section to definitions.--[[User:BrettGiles|BrettGiles]] 17:54, 22 July 2007 (UTC) | :Yes - I agree with Conal and have done a start, albeit without renaming the section to definitions.--[[User:BrettGiles|BrettGiles]] 17:54, 22 July 2007 (UTC) | ||
| - | Don't you think referencing [http://norvig.com/21-days.html "Teach Yourself Programming in Ten Years"] would be useful here? [[User:Vvv|vvv]] 15:12, 2 August 2007 (UTC) | + | Don't you think referencing [http://norvig.com/21-days.html "Teach Yourself Programming in Ten Years"] would be useful here? --[[User:Vvv|vvv]] 15:12, 2 August 2007 (UTC) |
| + | |||
| + | What is the syntax for comments in Haskell code? | ||
| + | |||
| + | :: -- introduces a single line comment | ||
| + | :: {- is a nested comment -} [[User:DonStewart|dons]] 05:07, 5 September 2008 (UTC) | ||
| + | |||
| + | I think it would be useful to mention that constants (including functions) can be defined in GHCi using <code>let</code>. You do not need to write a module for that purpose. Data types or type classes however cannot be defined. [[User:Lemming|Lemming]] 09:16, 11 June 2009 (UTC) | ||
Current revision
In Learn_Haskell_in_10_minutes#Function_definitions, the definition ofmain
- Yes - I agree with Conal and have done a start, albeit without renaming the section to definitions.--BrettGiles 17:54, 22 July 2007 (UTC)
Don't you think referencing "Teach Yourself Programming in Ten Years" would be useful here? --vvv 15:12, 2 August 2007 (UTC)
What is the syntax for comments in Haskell code?
- -- introduces a single line comment
- {- is a nested comment -} dons 05:07, 5 September 2008 (UTC)
I think it would be useful to mention that constants (including functions) can be defined in GHCi using let. You do not need to write a module for that purpose. Data types or type classes however cannot be defined. Lemming 09:16, 11 June 2009 (UTC)
