how to form an endomonoid

An endofunction is a function where the parameter and return type are the same for instance int to int. It isn’t a very difficult concept but it is fun to…

cutting teeth with scala-js

Full-Stack-Scala is really appealing for a few of reasons, for starters a programmer can still use many of the principles of category theory in day to day work without being stunted by…

how to form a monoid

Last post explored a foundational concept in category theory, the monoid. Here are some simple but diverse examples from Functional Programming in Scala. This is a rubber meets the road type…

seriously, what is a monoid

Having looked around for an answer to this question, there was little in terms of simple explanations this post serves to fill that gap. It’s a pretty simple concept and…

multiple pure functional states

In the last post I used a really simple example to explore the management and passage of state from one function to another following an example from Functional Programming in…

pure functional state: pt. i

Managing a programs state is a necessary evil, particularly so in Restful API’s. This post explores how to create predictable testable and modular functionality for state-ful domain logic in a purely functional…