Haskell interpreter, dont know how to run and test it

I am working on an interpreter as a project task, in order to understand what I have to do, I decided to download the interpreter from the Internet and run it. I started the specified folder in WinGhci, but I don't know how to test it and what to do, can you help.

Here's the link of folder location. https://github.com/kseo/poly

Its implementation of code in book "Write you a Haskell" chapter 7

.I don't know how to test it and what to do, can you help.


  • WinGhci is unmaintained. The recommended way to install Haskell is https://www.haskell.org/ghcup/ nowadays. See https://www.haskell.org/ghcup/steps/ for how you can start using the Haskell tooling. And yes, you'll have to become familiar with the command line to be able to use Haskell effectively.

    As for how to run poly, in the readme it says to run this command:

    cabal run

    Unfortunately, this is a very old repository. You'd need to go back to at least GHC 7.10.3, which you can still try to install but I don't know how easy it will be to use now (e.g. there are issues with 7.10 on linux at least).