Re: Arbitrary precision reals?

2003-03-25 Thread Fergus Henderson
On 25-Mar-2003, Tom Pledger <[EMAIL PROTECTED]> wrote: > > The floating point part of the GNU mp library looks difficult to fit > into Haskell's numeric classes, because the type signatures in class > Floating don't include a how-much-precision-do-you-want parameter. How about using a function ty

RE: Haskell help!

2003-03-25 Thread Weix, Rachel Lynn
Title: Re: Haskell help! I have since been able to figure out my problems - the algorithm for one of my methods was wrong and I found two "typos" so to speak.  I now need to figure out how to return all optimal solutions, and I have an idea as to how to start.  If I have any more problems I

CFP: DALT'03 - 1st Workshop on Declarative Agent Languages and Technologies

2003-03-25 Thread João Alexandre Leite
=== S E C O N D C A L L F O R P A P E R S DALT 2003 First International Workshop on Declarative Agent Languages and Technologies Melbourne, Australia July 15th 2003

RE: Arbitrary precision reals?

2003-03-25 Thread Simon Peyton-Jones
David Lester, who I saw today by coincidence, has a very nice arbitrary-precision real arithmetic package, which he is planning to finish up and offer to us Haskellites. I'll leave him to say when, and what it does, but it's a very cool thing and I hope we can persuade him to give it to us soon.

Re: Haskell help!

2003-03-25 Thread Iavor S. Diatchki
hi, the paper i posted uses Haskell, no mutation or looping. it also uses Haskell's lazyness in a neat way. bye iavor Weix, Rachel Lynn wrote: I have since been able to figure out my problems - the algorithm for one of my methods was wrong and I found two "typos" so to speak. I now need to figu

Re: Haskell help!

2003-03-25 Thread Iavor S. Diatchki
hi, i think you might find the following paper relevant: "Algebrainc Dynamic Prorgamming" by Robert Gigerich and Carsten Meyer http://link.springer-ny.com/link/service/series/0558/papers/2422/24220349.pdf bye iavor Weix, Rachel Lynn wrote: Hi, I'm a college student trying to write a Haskell prog

Error in Hugs 98

2003-03-25 Thread Cesar Augusto Acosta Minoli
Hello! I have this error when running my code in Hugs98   Program error: {primDivFloat (1.#QNAN) (1.#QNAN)}      Anyone knows what it means?    Thanks.Tired of spam? Get advanced junk mail protection with MSN 8. ___ Haskell mailing list [EMAIL PROTECTED

Re: Haskell help!

2003-03-25 Thread Marc Ziegert
looks like a genetic algorithm, i've programmed years ago. :) i need the sourcecode to solve the problem. it seems that you "zip" the two strings together: unzip $ zip "abcde" "123" -> unzip [('a','1'),('b','2'),('c','3')] -> ("abc","123") i've no idea why you got "saaturn". - marc Am Diens

Casting via Read/Show

2003-03-25 Thread George Russell
I'm afraid I don't much care for this solution either. (1) it's not at all clear to me what on earth it's good for. The main reason I use unsafe casting is because I need a way of storing and retrieving a value in a storage location which does not know its type. For example, a finite map which co

FINAL CALL for papers: ICFP 2003 deadline is Saturday

2003-03-25 Thread Olin Shivers
The submission deadline for ICFP -- the International Conference on Functional Programming -- is coming up soon: this Saturday, March 29. The 2003 ICFP will be in Uppsala, Sweden on August 25-29, in conjunction with PPDP (Principles and Practice of Declarative Programming). Please take a moment to

Haskell help!

2003-03-25 Thread Weix, Rachel Lynn
Title: Message Hi,   I'm a college student trying to write a Haskell program, and I'm having some problems getting the correct output.  I need to write a program which will return a set of optimally aligned sequences, with "optimal" being defined as such: mismatch or space (represented by a