Feature request/wish list - library support

View: New views
2 Messages — Rating Filter:   Alert me  

Feature request/wish list - library support

by Patrick Caldon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I don't know how you update your web pages and so on, but I'd like to
make a feature request (wish!) for support of all the standard haskell
libraries.  The couple of times I've tried using Hat this has been an
issue. ST related libraries are the ones I really want.

Also the first time I tried using Hat (this was about a week after I
started using Haskell) I got desparately confused by its lack of
library support.  If I recall, I had a little bit of toy code which
used Data.Queue, and tried re-installing Hat several times with
different options, each time getting an erro message like "Data.Queue:
Does not exist".  Could you change the error message to read?

Data.Queue: Does not exist; check http://<something> for a list of
supported libraries.

Thanks all the same for all your work!

Regards,
Patrick.
_______________________________________________
Hat mailing list
Hat@...
http://www.haskell.org/mailman/listinfo/hat

Re: Feature request/wish list - library support

by Malcolm Wallace :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

patc@... (Patrick Caldon) wrote:

> I don't know how you update your web pages and so on, but I'd like to
> make a feature request (wish!) for support of all the standard haskell
> libraries.  The couple of times I've tried using Hat this has been an
> issue. ST related libraries are the ones I really want.

Well, Hat does indeed support all the officially "standard" Haskell
libraries, namely those defined by the Haskell'98 Report.  It
additionally supports many of the non-standard libraries contained in
the hierarchical "base" package, but as you discovered, not all of them.

There are good reasons why some (e.g. ST) are not supported - because
they are not portable between compilers.

However, there are plenty of newer non-standard libraries (e.g.
Data.Queue) which are entirely portable, and we have no good excuse for
failing to support them in Hat, except a lack of developer time to chase
them up.

In fact the real failure here is the lack of an easy mechanism for
anyone to add a newer library into Hat's default set.  Automation would
make this so much less of a problem.  But sadly, I do not forsee this
happening in the near future.

> Could you change the error message to read?
>
> Data.Queue: Does not exist;
>   check http://<something> for a list of supported libraries.

A great idea.

Regards,
    Malcolm
_______________________________________________
Hat mailing list
Hat@...
http://www.haskell.org/mailman/listinfo/hat
LightInTheBox - Buy quality products at wholesale price!