[Haskell] Re: Functional dependencies interfere with generalization

2004-01-28 Thread oleg
I'm sorry to open an old wound. I've just had an insight for a clarification. On Nov 26, 2003 Ken Shan wrote: > Consider the following code, which uses type classes with functional > dependencies: > > {-# OPTIONS -fglasgow-exts #-} > module Foo where > class R a b | a -> b where r ::

[Haskell] Re: Weaving the Web with Haskell

2004-01-28 Thread Ferenc Wagner
Graham Klyne <[EMAIL PROTECTED]> writes: > I have been trying to use the HXML toolbox, because I > understand it's the only XML parser for Haskell that > supports XML namespaces. Unfortunately, it seems to be > rather dependent on older versions of GHC (unless I'm > missing something), which is m

RE: [Haskell] Weaving the Web with Haskell

2004-01-28 Thread Michael Brian Orr
Hi, Graham. As a Haskell newbie and a lurker on this list for about a month, I've e-watched your efforts with a great deal of interest. I came to Haskell for I believe exactly the same reason you're describing - please correct me if I'm misunderstanding - because I believe a robust, lazy, pure FP

Re: [Haskell] Implicit parameters redux

2004-01-28 Thread David Sankel
Ben, Could you explain in an extremely dumbed-down way what this is? It would be great if there were examples of 1) Some common, simple, and useful code in Haskell. 2) Same code using Implicit Parameters with a discussion of how it is better. Thanks, David J. Sankel ___

[Haskell] Re: High-level technique for program options handling

2004-01-28 Thread Ketil Malde
(Reply-To: haskell-cafe) Alastair Reid <[EMAIL PROTECTED]> writes: >> I have a question about error reporting. You use 'error' quite often. I >> think that this can cause errors to pop up at strange moments during >> program evaluation. > You're right, it can lead to late error messages. For e

[Haskell] Re: Compiling HXML toolbox under Hugs/Windows

2004-01-28 Thread Graham Klyne
Still struggling; please see question about MD5 at end... At 14:46 21/01/04 +0100, Uwe Schmidt wrote: Graham Klyne wrote: > So the requirement for inter-process communication here is to run an > external program and receive any data that it may return? exactly, the one and only reason I think I

[Haskell] Weaving the Web with Haskell

2004-01-28 Thread Graham Klyne
For the past week or so, I've been wrestling with various bits of Haskell libraries trying to get an XML parser running under Windows. Each time I think I've resolved a problem, another pops up to take its place. So I felt it was a good time to stand back and review my goals and approach. Bac