I think the best docs on <<>> is in Kernel.SpecialForms http://elixir-lang.org/docs/stable/elixir/Kernel.SpecialForms.html#%3C%3C%3E%3E/1
- Martin fre 20 maj 2016 kl. 12:10 skrev Elliot Crosby-McCullough < [email protected]>: > Hi all, > > I've been doing a bunch of binary creation and parsing in Elixir recently > and I'm having trouble pinning down its behaviour. I've two main problems: > > 1. I can't seem to find a properly comprehensive doc for Elixir's > binary syntax. All the googles point to the same couple of elixir guides > which only provide an overview. > 2. Forming new binaries using the << >> syntax sometimes triggers `** > (ArgumentError) argument error` with no other information as to which part > is at fault or why. I've not been able to precisely figure out what causes > this class of errors, though it's often (but not always) when I use > variables or nested << >> syntax to build binaries. > > Can anyone point me at some docs where I can figure this all out? > > Regards, > Elliot > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-talk/1a7b991c-2bd3-46c0-a86f-c62d6cca8da8%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-talk/1a7b991c-2bd3-46c0-a86f-c62d6cca8da8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAAHw6CJW2cuNomGprDpyiRBPo9u3QknjDpvc%2B64hX2tmi7n%3DpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
