William Spongberg



Conway's Game of Life in Haskell and Prolog

In preparation for my Declarative Programming exam in the second half of 2024, I implemented Conway's Game of Life into both Haskell and Prolog. Both versions run fully in the terminal without any extra libraries. I found Haskell to be far more intuitive and easy to work with than Prolog, but I enjoyed the challenge of working with both languages and learning more about functional and logic programming, and it was especially fun to see the differences in implementation between the two languages.

You can find the Haskell version here and the Prolog version here.