Here we briefly discuss scoping rules in Erlang and then quickly move to learning closures. I demonstrate how closures are a key to creating your own types and how functions are really data. We create our own type called Pair and then utilize it to create unidirectional linked lists. We conclude this article by implementing the quick sort algorithm.
October 18, 2020
In this article we discuss Funs (a.k.a lambdas). We start from learning some very basics and quickly turn our conversation to discussing the list functions like filter, map and fold.
September 22, 2020
This article introduces a few new concepts: function references (functions as arguments to other functions), predicates and higher-order functions.
August 08, 2020
In this article we continue our journey to the world of functions; we would learn how recursion works along with the complex data types like lists.
July 24, 2020
This article is an introduction to recursion. You would learn how to build bigger things in terms of smaller pieces and create control flows like loops.
July 14, 2020
In this article we discover some very basic properties of functions and modules. You will learn some syntax basics on how to define functions and modules in Erlang and how use them.
June 10, 2020