Naive way for generating Catalan numbers sequence in Haskell
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