What Is Elixir Lambda And When To Use Them — Tentamen Software Testing Blog

Elixir Lambda Function


In the previous post, we explained Elixir Strings. Let’s introduce Elixir First Class functions, Lambdas. This post is part of the functional language series, and it is based on the remarkable book Elixir In Action by Sasa Juric.



  • lambda is created using fn keyword.
  • the dot notation
  • lambda as argument of another function
  • shorten notation using &

Founder of Tentamen, software testing agency.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store