Skip to content

hermannhueck/tagless-final

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Algebras and Tagless Final

This project demonstrates the use of object algebras or tagless final in Scala, java and Haskell.

The OO Java code and FP Haskell code is taken from the snippets in Oleksandr Manzyuk's blog post: "From Object Algebras to Finally Tagless Interpreters"

I also ported both approaches - OO/Java and FP/Haskell - to Scala.

https://oleksandrmanzyuk.wordpress.com/2014/06/18/from-object-algebras-to-finally-tagless-interpreters-2/

The blog is a great intro to the subject, the clearest one I found on the web. I heavily recommend to read it if you are not yet familiar with the subject.

Hermann