Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Elixir builds types out of maps (using the struct) and you can build multiple dispatch operations over types using Protocol. If you want to pretty print your user types, you can implement the Inspect protocol.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: