Tue, 30 May 2000 18:52:53 +0200, Lennart Augustsson <[EMAIL PROTECTED]> pisze:

> I feel quite strongly about this, and when I write Haskell programs
> I try to avoid non-standard features as much as I can.  Very often
> you can; it might be a little inconvenient, but I think it's worth
> the price.

I write only few programs, but it's hard to avoid all non-standard
features. And when I use some and the program gets compilable only
with GHC, I don't have a strong motivation to avoid others. It would
probably change if more features were standarized and implemented,
if programs could be made more portable. I do have GHC, HBC, Hugs
and NHC installed, but use mostly GHC.

Recently I was writing a web browser for assignment. I used:
  * Multiparameter type classes, to simulate overloaded record fields,
  * FFI stuff, for curses,
  * IOArray, to make a Perl-like extensible indexed array,
  * IORef, to use uniform Output->IO() interface where output is sent
    to a thread in one place and collected into a list in another,
  * generalized pattern guards, not essential,
and non-standard libraries:
  * MonadReader, MonadState, MonadRWS, in 6 places,
  * FiniteMap, for String->String and String->Char maps,
  * Set, to emit things at most once,
  * URI, for parsing URIs amd making relative URIs,
  * Socket, for a HTTP client,
  * Concurrent, essential,
  * Exception, to quietly kill a thread and catch all errors in a thread,
  * Posix (will be soon), to get a ls-like directory listing.

I wish Haskell will evolve and interesting features and libraries
will be considered kosher. They are useful.

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/              GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                  W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-


Reply via email to