Howdy. I'm teaching myself elixir. :) I'm using the ELixir Kaons, and on 10_structs.ex. I'd like to know more about the 'cons' operator, but I'm having trouble finding references in the language docs. Can someone point me to a discussion on what "cons" actually does? Thanks!
icecreamcohen: Thank you! I guess that page I linked to is not the right page for what I'm looking for - more a description of "This <operator> does <this function or action>", not that merely it exists in the language.
icecreamcohen: Thank you for the explanation. Is there a doc that basically gives the same lesson you just did? :D
Ah, there *was an example in the 08_maps.ex (chapter 8), but the Koans described it as "syntactic sugar for existing elements", rather than 'cons' or 'update'... and I didn't actually understand what was going on... just made an educated guess.