[Haskell-cafe] Stack ADT?

Casey Hawthorne caseyh at istar.ca
Fri Feb 5 10:36:40 EST 2010


You could also implement stacks with mutable data structures, e.g.
STArray, etc.

What do you want to use a stack ADT for?

Usually stacks are discussed for pedagogical purposes but usually
recursion is used if you need a stack like operation.
--
Regards,
Casey


More information about the Haskell-Cafe mailing list