Elixir Wizards cover image

José Valim, Guillaume Duboc, and Giuseppe Castagna on the Future of Types in Elixir

Elixir Wizards

CHAPTER

The Hardest Thing to Do in Lixir

The hardest part of our work so far was typing maps in Lixir. From the typing perspective, you can use it like as a struct where the keys are known and prone. But we also use maps as dictionaries, which like a regular key value structure that you can put whatever you want. The theory should say, well, we can actually have everything in a single data structure. So we can express all those different things in the Elixir type in syntax that we had to define.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner