Top 10 Functional Programming Posts from 2020
- by Jason McClellan
- December 23, 2020
- kotlin• scala• haskell• swift• functional programming
- 4 minutes to read.
As 2020 comes to a close, here’s a look back at the ten most read stories this year in the 47 Degrees blog:
There’s a perception that Haskell is underpowered when it comes to the concept of IO (wrapping and tagging effectful actions within a special type to offer better control over its execution). This post from Alejandro Serrano demonstrates otherwise, and shows how to use the many libraries the Haskell ecosystem provides for IO actions.
In June, we proudly revealed to the world that we had re-launched the 47 Degrees Academy! This post provides an introduction to the Academy, explaining the types of training, courses, and events offered, and even offers a look at the origins of the 47 Degrees Academy.
This post from all the way back in January talked about recursion schemes and how to use them with the Skeuomorph open source library. Oli Makhasoeva demonstrates that separating how a function recurses over data from what the function actually does makes it possible to focus entirely on the core behavior of recursive functions.
At the end of April, Alejandro Serrano detailed the new features added to version 0.3 of Mu-Haskell—a framework for building microservices using type-level techniques. The added support for GraphQL in this release eliminated the restriction to gRPC as your transport layer, and furthered the goal of providing a unified interface for different communication protocols.
In this post, Tomás Ruiz López introduced Bow Arch—a library for building Functional Architectures in Swift. The post highlights the basic features of this open source library, illustrating how it provides a powerful, composable way of building applications in a purely functional manner.
Flavio Corpa unveiled Mu-Haskell, and provided an overview of what makes this set of libraries so special. The post explains how Mu-Haskell takes Mu—a library for developing microservices with the least amount of work possible—while exploiting the possibilities of the Haskell language and ecosystem.
Tomás Ruiz López discussed KeyPaths, which are widely used in Swift, and how they have their grounds in a powerful FP concept: optics. This post builds on a previous post that provided an introduction to optics. Through demonstration and providing example applications, Tomás shows the usefulness of KeyPaths, while also explaining why they don’t eliminate the need for optics modules.
This first post in a series showed that you can find examples of algebraic structures, like Monoids, in everyday situations. If you don’t know what a Monoid is, Tomás Ruiz López explains it in this post, and he uses the iOS Home Screen to illustrate this algebraic structure.
Back in April, the world was just starting to figure out how to adjust to life during a pandemic. And many engineers were looking for ways to contribute to the fight against COVID. So we compiled a list of coronavirus-specific open source projects that were active at the time.
This post highlighted the bug fixes and improvements version 0.11.0 brought to the Arrow ecosystem—open-source libraries that empower pure functional programming in Kotlin. This release added support for Kotlin 1.4.0 and introduced several new modules. Version 0.11.0 is the final version of Arrow before the release of 1.0.0.
Of course, this is just a small sample of the great posts added to the 47 Degrees blog this year. Check the blog periodically to see all the content we regularly publish related to functional programming news, releases, and concepts, and about 47 Degrees in general. And, if you don’t already, follow 47 Degrees on Twitter because we always announce new blog posts there.