Anler·Oct 21, 2017Closure under compositionIn the very beginning of my path to becoming a functional programmer I had to learn about closures… twice.
Anler·Jun 19, 2017Type safe Scala — Tagged typesToday let’s talk about briefly about tagged types. A tagged type is useful when the type you’re working with is completely valid for your…
Anler·Jun 15, 2017Type safe Scala — Phantom type parametersPhantom types parameters is one of my favourite features in type systems with parametric polymorphism: Java, Kotlin, Scala, C#, F#…
Anler·Jun 3, 2017Type safe Scala — Don’t use nullNull is a special value that denotes a reference that points to nowhere hence inhabits all reference types in Scala and Java. It was first…A response icon1A response icon1
Anler·Sep 17, 2015Recursion aerobics (the Y-combinator)This post is more an exercise for me than anything else (any of my posts are?), I want to be able to get to the Y-combinator from a named…
Anler·Jul 10, 2015Fold you soA higher-order function is a function that receives a function as a parameter and/or returns a function as its result.