Skip to content

bts/free-transformers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPDATE: I've worked this into a library in a private project, that abstracts over Free and CPS'd F for efficiency. If you'd be interested in using this, let me know and I can release a package.


An example Haskell implementation of the "free transformers" approach to building modular programs by composing layers of Free interpreters.

This was adapted from a combination of:

In this example, the code does not (yet) go so far as to abstract over the "computational context" (i.e. sequential/Free vs parallel/FreeAp) -- everything is currently sequential.

If you have any tips/ideas/fixes, please let me know!

Releases

No releases published

Packages

No packages published