[GHC] #5744: List layouts
GHC
cvs-ghc at haskell.org
Mon Jan 9 23:10:27 CET 2012
#5744: List layouts
---------------------------------+------------------------------------------
Reporter: nsch | Owner: nsch
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.2.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by giorgidze):
Thanks Simon and Nils for your clarifications.
I agree with Nils that the use of the do notation for non-monadic
structures should not be encouraged.
As for notations for constructing lists, I like the current standard
notation with square brackets, commas, and dots (for arithmetic
sequences). The standard notation works very well for single line as well
as for multiline indented and nested definitions.
I do not see a compelling reason as to why Haskell needs an alternative
notation for constructing lists.
Cheers, George
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5744#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list