Money class design: why not having currencies as type parameters?
A follow up on the study of the ideal design for the Money class, answering an interesting question on Reddit.
A follow up on the study of the ideal design for the Money class, answering an interesting question on Reddit.
Let’s look at the Money class implementations found in Kent Beck, Martin Fowler and Ward Cunningham work, and propose a new one based on dependent typing.
Part 2 of our implementation of transducers in Idris. This time we tackle stateful transducers and transducers with completion steps.
Let’s implement a small transducer-like library in Idris, for efficient and composable algorithmic transformations.
In today’s post, we will explore the hexagonal architecture through an example, describe it, and relate it to Free Monads, a well-known and pretty popular pa...
Let’s implement an entirely type safe bowling game, where invalid games cannot even be instantiated, and see how it goes and if it is even desirable.