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
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: