Language extension idea (was Re: [Haskell-cafe] Re: OCaml list sees...)

J. Garrett Morris J.Garrett.Morris at Dartmouth.EDU
Sat Oct 9 12:21:58 EDT 2004


--- Tom Pledger wrote:
It could get more convenient, though, if we have data-constructors-as-class-members and move the familiar list constructors into the List class. (The following might need to be built into the compiler, because of the special [] syntax.)
--- end of quote ---

Changing the subject very slightly, this brings up two questions:

1)  Wouldn't implementing the Views proposal allow this?

and,

2)  Why haven't views been implemented (and why are they a "never" in the HaskellTwo discussion in HaWiki)?

   /gXm


More information about the Haskell-Cafe mailing list