Skip to content
The Always Learning Marty
Exploring the breadth of software engineering.
  • About me
  • Home

Tag: ocaml

December 18, 2018

Using Unfolds to Iterate in Haskell and OCaml

This post picks up from where we left off here, in which I explained anamorphisms.  Here we look at another example of applying unfolds: iterate.  Iterate Iterate is one of the most common uses of…

December 4, 2018

Programming with Lenses in Haskell and OCaml

In this post, I continue going through the famous paper “Functional Programming with Bananas, Lenses, Envelopes and Barbed Wire” by Meijer et al.  They show that we can treat recursions as separate higher order functions…

Powered by WordPress | Theme: Write by Themegraphy