RE: path problem instead Re: 'Pretty' does not export ($+$)

2002-02-27 Thread Simon Marlow
I had a Pretty.hs from the CTK, a version that comes with hugs and the ghc text package one. I was including the CTK directory and that version was being used in preference to the text package one. This I presume is the intended behaviour. The other thing that bit me was that I

path problem instead Re: 'Pretty' does not export ($+$)

2002-02-18 Thread Duncan Coutts
On 2002.02.18 00:43:48 + Sigbjorn Finne wrote: Strange, the following compiles just fine with 5.02.1 on a Win2k box: module Foo where { import Pretty ; x y = y Pretty.$+$ y } Yep, your quite right. I discovered my problem was to do with search paths. I had a Pretty.hs from the CTK, a

'Pretty' does not export ($+$)

2002-02-17 Thread Duncan Coutts
The pretty printing module 'Pretty' in the text package does not export the ($+$) operator. The documentation says it does (and it certianly should). I'm using ghc 5.02.1 Duncan ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED]

Re: 'Pretty' does not export ($+$)

2002-02-17 Thread Sigbjorn Finne
Strange, the following compiles just fine with 5.02.1 on a Win2k box: module Foo where { import Pretty ; x y = y Pretty.$+$ y } --sigbjorn - Original Message - From: Duncan Coutts [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 17, 2002 16:13 Subject: 'Pretty' does