From: Nicolas C. <war...@fr...> - 2003-05-26 02:07:09
|
> Also todo: to_enum, of_enum, to_stream, and of_stream should be added. > The to_* should be both by priority and by key. Even if I like Streams I think that enums are somehow much powerful and less error prone (since you can't do next() ). Adding Stream support to psqueue would imply adding it for other data structures as well ( since we went to make things consistent ). I would prefer an Enum.stream / Enum.of_stream and keep only "enum" usage into data structures. Nicolas Cannasse |