ENQUIRY

2003-07-25 Thread MR. DAVID LARSON
FROM: MR. DAVID LARSON ANTHONY EZE CO. SIR, SUBJECT: TRUST NEED YOUR KIND RESPONSE TO THE FOLLOWING REQUEST: I HAVE A MANDATE TO SOURCE FOR A FINANCIAL MANAGEMENT PERSONNEL ASIDE AFRICA, BE IT YOUR PROFFESSION OR NOT, ITS NATURE DOES NOT COUNT, BUT ONLY HONESTY IS NEEDED AT ITS PEAK AND

Re: lazy Printing question

2003-07-25 Thread AJ
On Monday 21 Jul 2003 7:21 pm, Alastair Reid wrote: If I try to run the program (compiled using GHC 6), it calculates all members of the list and then prints the whole list in the end. Since Haskell is 'lazy' I was expecting behaviour similar to HUGS where it prints the numbers as it finds

Type design question

2003-07-25 Thread Konrad Hinsen
I am a Haskell newbie working on my first serious test case, and I would like some feedback from the experts to make sure I am not doing anything stupid ;-) My applications are numerical (one goal of my current tests being to check how much of a performance penalty I will pay for using Haskell

Re: lazy Printing question

2003-07-25 Thread Glynn Clements
AJ wrote: Ok so I added the hSetBuffering stdout NoBuffering line to my main function and still got the same 'nonlazy' behaviour, or so I thought. It took me some time to figure out what was going on. I am using emacs to write my code and I was calling a.out from inside it. Obviously it

RE: Type design question

2003-07-25 Thread Hal Daume
Hi Konrad, I am a Haskell newbie working on my first serious test case, and I would like some feedback from the experts to make sure I am not doing anything stupid ;-) Well, I may not exactly qualify, but I can give you a few suggestions, nonetheless... data Floating a = Vector a =

Re: Type design question

2003-07-25 Thread Dylan Thurston
On Fri, Jul 25, 2003 at 08:31:26AM -0700, Hal Daume wrote: However, once we fix this, we can see the real problem. Your Universe class has a method, distanceVector, of type: | distanceVector :: Universe u, Floating a = u - Vector a - Vector a - Vector a And here's the problem. When 'u'

Re: lazy Printing question

2003-07-25 Thread AJ
On Friday 25 Jul 2003 6:52 pm, you wrote: AJ wrote: Ok so I added the hSetBuffering stdout NoBuffering line to my main function and still got the same 'nonlazy' behaviour, or so I thought. It took me some time to figure out what was going on. I am using emacs to write my code and I was