Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 498 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 498 Bytes

Catalan

Naive way for generating Catalan numbers sequence in Haskell

How to run

Clone repo with git:

https://github.com/Masynchin/Catalan.git
cd Catalan

Compile and run with ghc:

ghc main.hs
./main

Amount of showed numbers defaults to 10. You can pass other amount as argument:

./main 15

Respectively, you can run it in Docker:

docker run --rm -it $(docker build -q .)
docker run --rm -it $(docker build -q .) 15