Re: [Haskell-cafe] Newbie Q: GHCi: W here “List” module is imported from?

2007-02-16 Thread Dmitri O.Kondratiev
On 2/16/07, Jules Bean [EMAIL PROTECTED] wrote: Actually, lists are partly defined in the Prelude, with auxiliary functions in Data.List. In particular, = for List is defined in the Prelude. Or rather, I should say, the Ord instance for lists is defined in the prelude (and only if the type

Re: [Haskell-cafe] Newbie Q: GHCi: W here “List” module is imported from?

2007-02-16 Thread Aaron McDaid
On 2/16/07, Dmitri O.Kondratiev [EMAIL PROTECTED] wrote: where then declaration: instance Ord [] can be found? With Hugs, it can be found in /usr/lib/hugs/libraries/Hugs/Prelude.hs (on Debian anyway). For GHC, I guess it's in compiled into one of the .hi files? From Hugs' Prelude.hs: