-
Recent Posts
Archives
Categories
Meta
Category Archives: Embedded DSLs
From “Hello, world!” to “Hello, monad!” (part III/III)
In the first part of this series, we saw how we can write the business logic of our applications as pure functions that return programs written in a custom domain-specific language (DSL). We also showed in part II that no matter … Continue reading →
From “Hello, world!” to “Hello, monad!” (Part II/III)
In the first part of this series, we set forth the essence of functional programming, namely, being declarative. This was illustrated with the ubiquitous “Hello, world!” example, a ridiculously simple program which, nonetheless, allowed us to introduce the major concepts … Continue reading →
Yo Dawg, We Put an Algebra in Your Coalgebra
As Dan Piponi suggested in Cofree Meets Free, we may think of coalgebraic things as machines with buttons. In this post, we take this metaphor seriously and show how we can use algebras to model the Input/Output interface of the … Continue reading →
Macros and Reflective Calls to eliminate boilerplate
In our previous post, we told you about updatable, a library that empowers programmers to build and update immutable objects in generic contexts. We saw the builder macro as a main element in the library, but we did not explain … Continue reading →
Welcome message
Think of information systems, Web 2.0 apps, games, e-learning, e-commerce, and the rest of e-* applications. Certainly, these application domains differ significantly in several respects, but can we find some commonalities? We do think so: they deal directly with people; … Continue reading →