Consistency of reserved operators and bang patterns

John Meacham john at repetae.net
Thu Sep 27 20:46:13 EDT 2007


On Fri, Sep 07, 2007 at 09:24:51PM -0300, Isaac Dupree wrote:
> >Oh, and while we are at it, I think (:) should also be removed as a 
> >reservedop, there is no reason for it to be on that list.
> 
> Backwards compatibility requires that it be implicitly imported from 
> Prelude even in a module that does "import Prelude ( )" (although Hugs 
> is already broken in this regard).  And that makes it fairly useless as 
> a non-reserved symbol.  If not for that issue, I agree.

jhc is also broken in this regard. (:) is treated like any other
constructor.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the Haskell-prime mailing list