[Haskell-cafe] Haskell Report??
Brent Yorgey
byorgey at gmail.com
Wed Oct 24 11:37:47 EDT 2007
On 10/23/07, Galchin Vasili <vigalchin at gmail.com> wrote:
>
> Hello,
>
> I am trying to use a Haskell shell (Hsh.hs). I am a little
> frustrated. There are two modules that are imported:
>
> import LibPosix
> import LibSystem
>
> 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?
>
> Kind regards, Bill Halchin
For currently standard GHC libraries, see here:
http://www.haskell.org/ghc/docs/latest/html/libraries/index.html
'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.
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!
-Brent
_______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071024/29be1c45/attachment.htm
More information about the Haskell-Cafe
mailing list