Haskell changed.  Use pairs (a,b) instead
of a special constructor (a := b), thus

        array (1, n) [(i, xa!i :+ xa!(i+n)) | i <- [1..n]]

> -----Original Message-----
> From: Jan-Friso Evers 
> Sent: Wednesday, September 01, 1999 11:02 AM
> To: [EMAIL PROTECTED]
> Subject: Data constructor not in scope: `:='
> 
> 
> Compilation of an old program (NAS-Benchmark) with ghc 3.x and 4.x
> terminates with:
> 
> Data constructor not in scope: `:='
> 
> Using ghc-0.29 works fine.
> 
> The code looks like this:
> 
> let
> ...
>    xa = ...
> 
> in  
>   array (1, n) [i := (xa!i :+ xa!(i+n)) | i <- [1..n]]
> 
> How can I fix this problem ?
> 
> Jan-Friso Evers
> 
> 


Reply via email to