This is a simple, quick take at creating a noninteractive Guess a Number clone in Haskell. It will also probably be a sort of playground for experimenting as I continue to learn more about Haskell and functional programming.
Have GHC and Stack (or maybe Cabal?) installed in your system. GHCup is a simple, straightforward way of doing it.
Just clone this repo and run stack build
in its root directory.
To see it in action, you can use Stack as well and do stack exec guess-a-number
or run the executable directly.
Just let me know by opening an issue!