<p class="MsoNormal">Going through "Haskell. The Craft of Functional Programming"
book , in section 16.8 I found a Set module example.<br>
Module declarations starts with:</p>
<p class="MsoNormal"> import List hiding (union)</p>
<p class="MsoNormal">"Set" module here is built with list and uses among other
things list comparison functions such as (==) and (<=).</p>
<p class="MsoNormal"> For example:</p>
<p class="MsoNormal"> eqSet<span style=""> </span>:: Eq a
=> Set a -> Set a -> Bool</p>
<p class="MsoNormal">eqSet (SetI xs) (SetI ys) = (xs == ys) </p>
<p class="MsoNormal"> <br>
Q1: Where "List" module is imported from? </p>
<p class="MsoNormal">GHC "Base" package contains "Data.List" module, not just
"List" module.</p>
<p class="MsoNormal">Besides, <span style=""> </span>"Data.List"
does not have (<=) function.</p>
<p class="MsoNormal"> Q2: Any tutorial on using GHC libraries out there?</p>
<p class="MsoNormal">Thanks!<br>
Dima</p>
<p class="MsoNormal"> </p>