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

RE: hugs / ghc difference over '(..)' imports

2002-02-18 Thread Simon Marlow
> There is a difference between hugs and ghc in how they treat > imports with the > '(..)' notation. Here's my example: > > module CTree( > --other stuff > Const(..) >) where > > import ATree (Const) > > --const has constructors CInt, CChar, CStr > > under hugs this module ex