Intro class to the Elixir language
Elixir
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
proj1
spawn
LICENSE
README.md
topics.txt

README.md

elixir-class1

Intro class to the Elixir language

@ahabra, ahabra @ github/yahoo/tumblr

https://github.com/ahabra/elixir-class1

Introduce Elixir: functional language on top of erlang-vm with ruby-like syntax

iex: interactive repl

h() : print help

mix: build tool

mix new bigIdea --bare
    # look at resulting project dir structure
mix clean
mix test
mix test path/to/*_test.exs

editors: sublime, vi, emacs, textmate

  • p0_intro: module, function, list, tuple, when/guard
  • p1_simple: list map, pattern match, recursion
  • p2_books: record, list filter/map/reduce, pipe line
  • p3_echo: spawn, receive, tail recursion optimization
  • p4_echo2: conditional spwan/receive

References: