4 0
Sign in to rate

Elixir Programming Language

0.38MB. 0 audio & 2 images. Updated 2020-02-04.


Covers language fundamentals, general programming topics, Erlang/OTP framework.

Sample (from 752 notes)

Cards are customizable! When this deck is imported into the desktop program, cards will appear as the deck author has made them. If you'd like to customize what appears on the front and back of a card, you can do so by clicking the Edit button, and then clicking the Cards button.
Front You have a list of attributes [:fname , :lname, :city , :zip ] and list of values ["john", "doe", "london", 87683] How would you combine into a Keyword list?
Back iex> Enum.zip([:fname , :lname, :city , :zip ], ["john", "doe", "london", 87683]) [fname: "john", lname: "doe", city: "london", zip: 87683] def zip(enumerables) Zips corresponding elements from a collection of enumerables into one list of tuples.The zipping finishes as soon as any enumerable completes. iex> Enum.zip([[1, 2, 3], [:a, :b, :c], ["foo", "bar", "baz"]]) [{1, :a, "foo"}, {2, :b, "bar"}, {3, :c, "baz"}] iex> Enum.zip([[1, 2, 3, 4, 5], [:a, :b, :c]]) [{1, :a}, {2, :b}, {3, :c}]
Front Enum.slice(1..10, 5, 0)
Back []
Add Reverse
Front What is the quickest way to find the first item in the list, [1,2,3]?
Back >[head|tail] = [1,2,3]>head

After the file is downloaded, double-click on it to open it in the desktop program.

At this time, it is not possible to add shared decks directly to your AnkiWeb account - they need to be added from the desktop then synchronized to AnkiWeb.


on 1587730746
on 1581763865
Thank you
on 1581580155
It's good
on 1581313442
Thanks for this!