HDirect

2002-11-14 Thread Martin Huschenbett
Hi all together! Is there any newer version of HDirect than 0.17? Maybe an CVS-repository? THX, Huschi! ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

storing to a file

2002-11-14 Thread Johan Steunenberg
Hello, I am new to haskell, and to functional programming, and wondering how to store a Double, or any non-char, to a file. Do I have to make a char array of the double and store that? Or is it preferred to use the show and read functions? Thanks in advance, johan steunenberg

RE: ghc binary, fptools CVS jamming :-(

2002-11-14 Thread Simon Marlow
Do I have to compile every packages again if I upgrade ghc ? Yes. It is a pleasure to make use of the utilities (greencard, HOpenGL, etc). But what When I try to use CVS repository and stand-alone binary distribution together (because I wanted to see hdirect is like and v 0.16 does not

Re: storing to a file

2002-11-14 Thread Ferenc Wagner
Johan Steunenberg [EMAIL PROTECTED] writes: how to store a Double, or any non-char, to a file. I can give you a general advice: store it in ASCII format via show, unless you have *VERY* strong reasons against it. Yes, it results in bigger files (but you can compress them), and slower (what

Re: storing to a file

2002-11-14 Thread Johan Steunenberg
Hello Feri, thanks for your advice, I guess it sweetens the situation, though I really would like to know how to store in a binary format. Have a nice day, Johan Am Don, 2002-11-14 um 11.15 schrieb Ferenc Wagner: Johan Steunenberg [EMAIL PROTECTED] writes: how to store a Double, or any

RE: Calling Haskell from Python / C++

2002-11-14 Thread Simon Peyton-Jones
I hope it's all described adequately in the GHC user manual http://haskell.org/ghc If not, let us know! Simon | -Original Message- | From: Peter Simons [mailto:simons;cryp.to] | Sent: 13 November 2002 10:07 | To: [EMAIL PROTECTED] | Subject: Re: Calling Haskell from Python / C++

Library for symbolic integration/derivation/ODE solving?

2002-11-14 Thread Marcus Lindblom
Hi! I would like a library that helps me with some symbolic integration/derivation/ODE solving. Sort of a Maple/Mathematica as a Haskell library, that operates on a expression tree. I've tried google and the haskell homepage library list but haven't found anything of the sort. A few pointers

Re: storing to a file

2002-11-14 Thread Mark Carroll
On 14 Nov 2002, Johan Steunenberg wrote: thanks for your advice, I guess it sweetens the situation, though I really would like to know how to store in a binary format. http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/Binary.html might be interesting for you. Actually,

Re: storing to a file

2002-11-14 Thread Christopher Milton
For some reason, the York ftp links never work for me, so here are the links for the Binary data papers (practically all of their webpages only point to ftp://; for papers): Heap Compression and Binary I/O in Haskell Malcolm Wallace and Colin Runciman

Re: storing to a file

2002-11-14 Thread Hal Daume III
There's been mention of a Binary module; there is also one in the GHC CVS repository under (I think) compiler/ghc/utils/Binary.hs. There is currently discussion on the libraries list about getting a Binary module into the standard libraries. We are currently working out some details, but it will

Re: storing to a file

2002-11-14 Thread C.Reinke
There's been mention of a Binary module; .. That said, there was also a post about using plain text. I tend to agree, except for certain cases. However, that is *not* to say that you should necessarily use Show/Read. | Actually, deriving binary would be a nice thing to have in general |

Re: Calling Haskell from Python / C++

2002-11-14 Thread Peter Simons
Simon Peyton-Jones writes: I hope it's all described adequately in the GHC user manual http://haskell.org/ghc I'll take a look at it, thanks! Unfortunately, before I can worry about this I have to get GHC built at all. It appears that the available binary versions don't work an a pure

Binary read/write WAS [storing to a file]

2002-11-14 Thread Shawn P. Garbett
I've been fiddling with binary read/write in Haskell. I put together a little example demonstrating my lack of understanding. It creates a connection requestion XAtom and spits it out over a socket. My real hangup occurs when I get a String back from the Socket and would like it nicely

Re: Binary read/write WAS [storing to a file]

2002-11-14 Thread Alastair Reid
I've been fiddling with binary read/write in Haskell. I put together a little example demonstrating my lack of understanding. It creates a connection requestion XAtom and spits it out over a socket. My real hangup occurs when I get a String back from the Socket and would like it nicely

Re: Time library underspecified

2002-11-14 Thread Tom Pledger
John Meacham writes: : | another useful thing would be | endOfTime and beginningOfTime constants, representing the minimum and | maximum values representable by ClockTime. : | ___ | Haskell mailing list | [EMAIL PROTECTED] |

Re: 1 line simple cat in Haskell

2002-11-14 Thread Tom Moertel
On Wed, 2002-11-13 at 22:43, William Lee Irwin III wrote: There is a semantic difference here, as the version I posted above takes files from the command-line, though it does fail to accommodate the pass-through case, which is handled by: [...] I need this behavior often enough to justify

Bug? [was: Implicit params]

2002-11-14 Thread Jorge Adriano
On Thursday 14 November 2002 18:47, Iavor S. Diatchki wrote: hello, Well, actually you must be right since the pure field defines a pure (projection) function... Hmmm, ok, can someone explain this to me, data E s = E{ refi :: STRef s Int, refc :: STRef s Char, m

Implicit params [was Re: Record of STRefs better than STRef to a Record?]

2002-11-14 Thread Iavor S. Diatchki
hello, Well, actually you must be right since the pure field defines a pure (projection) function... Hmmm, ok, can someone explain this to me, data E s = E{ refi :: STRef s Int, refc :: STRef s Char, m:: Int } -- this is fine, obviously... pure :: E s - Int pure e =