All slide content and descriptions are owned by their creators.
All slide content and descriptions are owned by their creators.
cheat sheet elixir-lang.org v1.2 Updated 1/4/2016 Operators === !== and or not (strict) == != && || ! (relaxed) >, >=, <, <= +, -, *, / (float) div, rem (integer) binary1 <> binary2! (concat) list1 ++ list2 ! ! (concat) list1 -- list2 (set diff) a in enum ! (membership) ^term (no reassign) Command line elixir [options] file.ex/file.exs iex iex -S script (e.g., iex -S mix) iex --name local iex --snam
All Elixir code runs inside lightweight threads of execution (called processes) that are isolated and exchange information via messages: current_process = self() # Spawn an Elixir process (not an operating system one!) spawn_link(fn -> send(current_process, {:msg, "hello world"}) end) # Block until the message is received receive do {:msg, contents} -> IO.puts(contents) end Due to their lightweigh
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く