<br><div><span class="gmail_quote">On 10/23/07, <b class="gmail_sendername">Galchin Vasili</b> <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br> I am trying to use a Haskell shell (Hsh.hs). I am a little frustrated. There are two modules that are imported: <br><br>import LibPosix<br>import LibSystem<br><br>I am running WinHugs (Windows) and hugs/ghci can't find LibSystem. I am confused about 1) what are currently standard libraries, etc. in Haskell, 2) what is deprecated and 3) what are "home grown tomatoes" ;^) How current and definitive is the Haskell Report?
<br><br>Kind regards, Bill Halchin </blockquote><div><br>For currently standard GHC libraries, see here:<br><br><a href="http://www.haskell.org/ghc/docs/latest/html/libraries/index.html">http://www.haskell.org/ghc/docs/latest/html/libraries/index.html
</a><br><br>'LibPosix' and 'LibSystem' look like names from before the current hierarchical module system was adopted, so it would seem that code is somewhat outdated. LibPosix should probably be System.Posix
, but I'm not sure what used to be in LibSystem and where it could be found now. If you're determined to get it to work, try searching the libraries for the names of systemish-looking functions in Hsh.hs, and see if you can find in what modules they now live, and import those. No promises that the APIs haven't changed, though, so you might still have problems anyway.
<br><br>The Haskell Report is "definitive" but not very current (it is almost 10 years old at this point). In practice, there are many extensions to the language and libraries which are fairly widespread and standard but are not documented in the Report. Hopefully Haskell' will fix that, but no telling when that will be done!
<br><br>-Brent<br> <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">_______________________________________________<br>Haskell-Cafe mailing list
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">