RE: Parsing qualified types

1999-06-09 Thread Simon Marlow
Consider the following two Modules: File A.lhs: == module A where data A a = MkA a == File B.lhs: == module B where import qualified A type A a = A.A a--- Problem! == ghc-4.03 (current sources) complains while

RE: CVS Snapshot Bug?

1999-06-09 Thread Simon Marlow
CVS Snapshot Bug? Please let me know if you need more information. Fixed today, thanks for the report. Cheers, Simon

RE: Help: Segfault | Where is the *.hc for 4.02 ?

1999-06-09 Thread Simon Marlow
I've tried `ghc-4.02-i386-unknown-linux.tar.gz' in-place, but even "hello world" will dump core. Some info about my box: glibc-2.1.1 I think the conclusion is that recent glibcs don't work with ghc. Unfortunately we don't have a box here to test on, so if anyone can help narrow down the

digits of large integer

1999-06-09 Thread S.D.Mechveliani
Anatoli Tubman wrote: T How can I *efficiently* print (i.e. find the decimal, or in T general N-ary, representation of) large Integers, like factorial of 1? Lennart Augustsson [EMAIL PROTECTED] replied A Use hbc? It uses the gmp routine to convert an Integer to a String. A Converting

Re: how to write a simple cat

1999-06-09 Thread Hannah Schroeter
Hello! On Fri, Jun 04, 1999 at 12:18:31PM +0200, Friedrich Dominicus wrote: [...] splitFilterMap unSplitFn afterMap filterPredicate beforeMap splitFn = unSplitFn . map afterMap . filter filterPredicate . map beforeMap . splitFn [...] sorry this looks morre terrible to me than all

y2k compliance

1999-06-09 Thread Hugo Bouckaert
Hi I would like to know whether haskell compilers (hugs, hbc and lmlc) are fuly y2k compliant. Can anyone fill me in on this? Thanks Hugo -- Dr Hugo Bouckaert - Systems Administrator, Computer Science UWA Tel: +(61 8) 9380 2878 / Fax: +(61 8) 9380 1089 Email: [EMAIL PROTECTED] / Web:

RE: Language Feature Request: String Evaluation

1999-06-09 Thread Frank A. Christoph
In principle I can do this, but: 1. how do I hide the import of show String to replace it w/ my own? 2. If I do replce show String what else will break? 3. If instead I define an eshow function that strips "", how do I minimize the perforamnce hit of quote stripping? 4. If I want to share

Re: how to write a simple cat

1999-06-09 Thread Hannah Schroeter
Hello! On Wed, Jun 02, 1999 at 01:29:12AM -0700, Simon Peyton-Jones wrote: [...] - Would people actually add stuff? I'm a bit skeptical, but it would be great to have my skepticism proved unfounded. I think, Friedrich and those who helped him could have posted their questions and

Re: y2k compliance

1999-06-09 Thread Jerzy Karczmarczuk
Hugo Bouckaert wrote: I would like to know whether haskell compilers (hugs, hbc and lmlc) are fuly y2k compliant. Can anyone fill me in on this? ... and , if you are already here,... could somebody explain, please, what does it mean to have a compiler which is *NOT* y2k compliant, what is

Re: Language Feature Request: String Evaluation

1999-06-09 Thread Magnus Carlsson
S. Alexander Jacobson writes: In principle I can do this, but: 1. how do I hide the import of show String to replace it w/ my own? 2. If I do replce show String what else will break? I'd rather let the preprocessor insert calls to eshow, and leave show as it is. 3. If instead I define

Re: y2k compliance

1999-06-09 Thread Adrian Hey
On Wed 09 Jun, Jerzy Karczmarczuk wrote: ... and , if you are already here,... could somebody explain, please, what does it mean to have a compiler which is *NOT* y2k compliant, I have found that some compilers put the date and time of compilation in the resulting object files, so it is

RE: y2k compliance

1999-06-09 Thread Mark P Jones
Hi Hugo, | I would like to know whether haskell compilers (hugs, hbc and lmlc) are | fuly y2k compliant. Can anyone fill me in on this? My understanding is that none of the current Haskell implementors can afford to answer a question like this because none of us have the developer, support, or

Re: how to write a simple cat

1999-06-09 Thread Friedrich Dominicus
Hannah Schroeter wrote: Hello! On Fri, Jun 04, 1999 at 12:29:45PM +0200, Friedrich Dominicus wrote: [...] What is difficult is that by using some predefined function, one can express very much in very small code. I believe Haskell is even more expressive than most OO languages

Re: how to write a simple cat

1999-06-09 Thread Hannah Schroeter
Hello! On Fri, Jun 04, 1999 at 12:29:45PM +0200, Friedrich Dominicus wrote: [...] What is difficult is that by using some predefined function, one can express very much in very small code. I believe Haskell is even more expressive than most OO languages with comparable libraries