foxx3r / stack-haskell

A simple data structure (stack) implemented in Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stack-haskell

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

About

A simple data structure (stack) implemented in Haskell

License:MIT License


Languages

Language:Haskell 100.0%