Re: [Haskell] Re: state of HaXml?

2007-01-10 Thread Samuel Bronson
On 1/10/07, Malcolm Wallace <[EMAIL PROTECTED]> wrote: "Samuel Bronson" <[EMAIL PROTECTED]> wrote: > > Can I just leave it hanging and rely on the garbage collector to > > close it in the fullness of time? > > Actually, hGetContents closes the handle when it gets an EOF. > > If it never does get

Re: [Haskell] Haskell 98 syntax question

2007-01-10 Thread Wolfgang Lux
Sascha Böhme wrote: Hello, referring to the Haskell 98 report as available in the Internet, I have a short question. Section 4.1.3 (Syntax of Class Assertions and Contexts) contains the rule: class -> qtycls tyvar | qtycls ( tyvar atype1 ... atypen ) (n>=1) Is there a (simple) pra

Re: [Haskell] Haskell 98 syntax question

2007-01-10 Thread Stefan O'Rear
On Wed, Jan 10, 2007 at 03:33:44PM +0100, "Sascha B?hme" wrote: > Hello, > > referring to the Haskell 98 report as available in the Internet, I have a > short question. Section 4.1.3 (Syntax of Class Assertions and Contexts) > contains the rule: > > class -> qtycls tyvar > | qtycls ( tyv

[Haskell] Haskell 98 syntax question

2007-01-10 Thread Sascha Böhme
Hello, referring to the Haskell 98 report as available in the Internet, I have a short question. Section 4.1.3 (Syntax of Class Assertions and Contexts) contains the rule: class -> qtycls tyvar | qtycls ( tyvar atype1 ... atypen ) (n>=1) Is there a (simple) practical example of a Haskel

Re: [Haskell] Re: state of HaXml?

2007-01-10 Thread Malcolm Wallace
"Samuel Bronson" <[EMAIL PROTECTED]> wrote: > > Can I just leave it hanging and rely on the garbage collector to > > close it in the fullness of time? > > Actually, hGetContents closes the handle when it gets an EOF. > > If it never does get EOF (because you never use all of the data), the > gar