Compiler 5.02 asked me to report a bug.

2002-02-09 Thread Brett Giles
Hi, While using green-card to create an interface for postgres database access, I recieved the following when I executed ghc -c PG.hs -o PG.o -fglasgow-exts -i/usr/local/gc-2.03/lib/ghc -package text -package data -package util ghc-5.02: panic! (the `impossible' happened, GHC version 5.02):

what does fixST do?

2002-02-09 Thread Hal Daume III
subject says it all... -- Hal Daume III Computer science is no more about computers| [EMAIL PROTECTED] than astronomy is about telescopes. -Dijkstra | www.isi.edu/~hdaume ___ Haskell mailing list [EMAIL PROTECTED]

Re: what does fixST do?

2002-02-09 Thread Lennart Augustsson
Hal Daume III wrote: subject says it all... name says it all; it computes fixpoints in the ST monad. :-) -- Lennart ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Newbie] Programming with MArray

2002-02-09 Thread Jay Cox
Date: Fri, 8 Feb 2002 18:35:14 -0200 From: =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Newbie] Programming with MArray --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding:

Re: efficiency question

2002-02-09 Thread Jorge Adriano
On Saturday 09 February 2002 11:38, Jorge Adriano wrote: If you make it strict on the (,), like:  test3 l =      let s = foldr (\x (a,b) - ((,)$!x+a)$!x-b) (1,1) l      in  s Things will get worst. Well, that's what I expected, the elements of the list will b reduced to head normal form,

(no subject)

2002-02-09 Thread Phil Haymen
hi,I have a function, using list comprehension to pick out the head and last elements from a list of lists and output this into a list without duplicates. It doesn't work. I want to know what is the error. function :: [[Int]] - [Int] function seg = nub (concat([head s, last s | s - seg])