The list as usually constructed (head and tail) is a stack.

сб, 8 дек. 2018 г. в 03:43, daniel huebleitner <daniel.huebleitner@student.tuwien.ac.at>:
I am a graduate student in theoretical computer science playing around
with haskell for the past year or so. I wrote a Stack Data structure
today and would like to get some feedback from more experienced
haskellers if possible. I know its a really simple thing to write. But
the implementation I found on hackage wasn't what I was looking for. I
haven't wrote unit tests yet, but it should behave as expected.

Thanks in advance.

Kind regards.

Daniel



_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.