An open API service indexing awesome lists of open source software.

https://github.com/aherrmann/final-encoding-examples

Example codes to blog post about final encoding of embedded languages
https://github.com/aherrmann/final-encoding-examples

Last synced: about 1 month ago
JSON representation

Example codes to blog post about final encoding of embedded languages

Awesome Lists containing this project

README

          

# Mutual Recursion in Final Encoding - Examples

Example codes to my [blog
post](http://aherrmann.github.io/programming/2016/05/28/mutual-recursion-in-final-encoding)
about defining mutually recursive functions within an embedded language that is
implemented through final encoding in Haskell.

There are no special dependencies. The code has been tested on GHC 7.6.3 and
7.10.3. To play around with the example codes simply load the corresponding
module within `src/` into `ghci`.