Catamorph your DSL: Introduction

I recently had the pleasure to go to a Haskell workshop on Domain Specific Languages (DSL). The goal was to teach us the basics on how to build a DSL. The workshop covered a lot of ground, too much to cover here. I will instead focus on one specific notion that this workshop made me... Continue Reading →

Beautiful Code: Control.Foldl

The last three posts were about providing useful higher order functions that go hand in hand with C++ STL algorithms and ranges. In particular, we were interested in combining several functions together to create concise and efficient traversals. While documenting on the subject, I went looking at other example in other languages. And I encountered... Continue Reading →

Combining traversals by example

This post is the third of the series of post focused on providing useful higher order functions that goes hand in hand with STL algorithms and ranges. The two previous posts went over the following set of tools: Lenses allow to “zoom” on the elements being scanned Traversal combinators allow to merge several scan into... Continue Reading →

Traversal Combinators

This post is the second of the series of post focused on providing useful higher order functions that goes hand in hand with STL algorithms and ranges. Last post was focused on higher order functions, lenses, that allows to zoom on the elements being scanned. Today's post is about exploring higher order functions that allows... Continue Reading →

Traversals and lenses

Following the amazing keynote of Eric Niebler on ranges at the CppCon2015, there has a been a lot of discussion on ranges in the C++ community. Ranges are an amazing tool to add to the STL. I am starting a series of post to introduce some useful higher order functions that go hand-in-hand with the... Continue Reading →

Meetup Report: Kata night

Two days ago, I went at a Crafting Software Meetup at Arolla. The goal was to join other developers and improve our skills as a group by practicing kata. A large majority of us were debutant. So after a difficult start on an exercise that was definitively out of our league, we decided to play... Continue Reading →

Create a website or blog at WordPress.com

Up ↑