Erlang User defined types

Grégoire Welraeds
Mar 26, 2018 · 5 min read

In a Nutshell

Why you should use custom type?

How to define a custom type?

Where to use a custom type?

Use Dialyzer!

Generate the doc

Cards custom types in the generated edoc
the kind() function specification in the generated edoc

Lets recap

Grégoire Welraeds

Written by

Digital entrepreneur, Owner at i-Logs SPRL, love to travel, photography, music, nature and a good laugh. Brussels, BE.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade