blackode
Published in

blackode

Two new life saving functions worth knowing | Elixir 1.12 | tap & then

New improvements in Kernel module Elixir 1.12

This article is all about knowing the two newly added macros then/2 and tap/2 from Kernel module. Here, we cover some real world situations with simple examples where these functions would be useful.

--

--

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