Hello! First post here.
I’m trying to kickstart my journey on Haskell and since I’m a game developer, I’ve been looking for books that lean towards interactive applications. I stumbled upon Paul Hudak’s Haskell School of Expression and it sounded like the perfect book, but I’ve been trying to set up an environment that would allow me to write and compile the book’s code to no avail.
If I got it right, the book’s source code no longer works with current versions of GHC. I tried a few things, like getting an older version of GHC and installing the dependencies through Cabal, but I always get an error when it tries to compile OpenGL (Stack gives me a similar error). Not knowing the language’s enviroment puts a handicap on what I can currently do, so I was wondering if someone has hints on what I could do to compile and run the book’s source code?
Thanks in advance!