Since this was posted, I have begun building a Haskell program to serve as a proof-of-concept. I initially posted a functional code snippet; I later retracted it as I thought it was sub-par. (I’m a bit of a perfectionist when it comes to my code.)
Progress has been consistent but slow; I have very limited free time to work on this right now. Code is coming, but I want to make sure it’s good code so it’s (hopefully) easier to implement.