Data.Sequence?

Michael Marte marte at pms.informatik.uni-muenchen.de
Wed May 31 06:20:02 EDT 2006


Hello *,

when importing Data.Queue in 6.4.2, I am told that it is deprecated and 
that I should use Data.Sequence instead. However, Data.Sequence is not 
part of the base package - it is there but it is missing from the 
package.conf file. Moreover, there is no documentation available apart 
from the source code itself.

Regarding Data.Sequence itself:
- I am missing a function for converting a sequence to a list directly; 
I have to create a view and convert it to a list.
- Isn't the name too fuzzy? After all, a standard Haskell list is a 
sequence as well. Why not stay with Queue?

Michael


More information about the Glasgow-haskell-users mailing list