A simple data structure (stack) implemented in Haskell
To run this program, clone this repository, and then, change to directory, and run:
$ ghci
After that, on prelude, run:
:l stack.hs
And then, test those functions. List of functions:
- pop: [] -> []
- push: [], integer -> []
- top: [] -> []
- is_empty: [] -> boolean