Zulip Chat Archive

Stream: std4

Topic: Stack & Queue


Andrés Goens (Jan 13 2023 at 18:14):

The Std.Stack and Std.Queue were removed from the compiler to be moved to std4. Is there anything concrete blocking this? and if not, could I help in doing so?

Mario Carneiro (Jan 13 2023 at 21:37):

I don't think there is much need for stacks, they are just a subset of array or list functionality (depending on whether you want persistent or not). For queues the two-list trick seems good enough to have as a dedicated data structure so it just needs a PR

Andrés Goens (Jan 16 2023 at 12:37):

It seems queue was resurected not so long ago, hadn't seen that.


Last updated: Dec 20 2023 at 11:08 UTC