MecksUnit: Elegantly mock module functions in (async) ExUnit tests Ecto and Binary IDs Generated By PostgreSQL

Capturing Functions and Expressions in Elixir

In this post, we’re going to look at capturing functions and expressions, which can make Elixir code more concise.

https://davidtang.io/2019/01/10/capturing-functions-and-expressions-in-elixir.html