Rise your Elixir Knowledge with these

10 Killer Elixir Tips #10

Being smart can bring you more confidence

Malreddy Ankanna
blackode
Published in
7 min readFeb 6, 2020

--

Hey Guys!

Welcome back to another set of Elixir Tips. It’s been a great pleasure in writing and sharing with you. Let’s dive in.

1. Elixir’s Ebin Directory

What this for ?

We can find all the protocols available by using elixir_ebin_path .

2. Finding Protocol implementations

Let’s check our Enumerable protocol is implemented for bitstring or not.

The output for the expression is nil which indicates the Enumerable protocol is not implemented for BitString type if it has implemented, it would give the ModuleName.

--

--

Malreddy Ankanna
blackode

Programmer & Writer, I write about coding, thoughts, ideas, personal musings, technical articles, and tutorials.https://bio.link/blackode