logo       

Re: panic in arrow code "foo = returnA -< []": msg#00026

lang.haskell.glasgow.bugs

Subject: Re: panic in arrow code "foo = returnA -< []"

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" :)

peace,

isaac


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise