On Fri, Mar 12, 2004 at 02:42:15PM -0500, Isaac Jones wrote:
> On Fri, 2004-03-12 at 13:47, Ross Paterson wrote:
> > On Fri, Mar 12, 2004 at 01:30:58PM -0500, Isaac Jones wrote:
> > > The following malformed code causes a panic in ghc 6.2, and some folks
> > > on IRC tried it in various CVS snapshots, where it also breaks.
> > > 
> > > module Main where
> > > import Control.Arrow
> > > 
> > > foo = returnA -< []
> > 
> > It's not legal to use -< except inside proc, so the bug is that this isn't
> > being rejected.  Will check.
> 
> In my own defense, I did say "malformed code" :)

So you did.  Anyway, the message is now

    The arrow command
      returnA -< []
    was found where an expression was expected
    In the definition of `foo': foo = returnA -< []
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to