Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Elixir: Gentle Introduction to Functional Progr...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
bbense
October 30, 2014
Programming
210
1
Share
Elixir: Gentle Introduction to Functional Programming
Slides for a lightning talk introducing elixir at the Stanford IT Unconference
bbense
October 30, 2014
Other Decks in Programming
See All in Programming
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
500
AgentCore Optimizationを始めよう!
licux
3
230
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
350
[RubyKaigi 2026] Require Hooks
palkan
1
310
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.8k
継続的な負荷検証を目指して
pyama86
3
1.1k
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
630
Making the RBS Parser Faster
soutaro
0
710
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
260
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
210
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
560
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
110
AI: The stuff that nobody shows you
jnunemaker
PRO
6
640
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
360
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Transcript
Elixir: An Introduction to Functional Programming Booker C. Bense :
[email protected]
None
None
None
None
None
None
None
def build_paths(:help) do IO.puts @moduledoc System.halt(0) end
def build_paths(:help) do IO.puts @moduledoc System.halt(0) end
None
None
None
args |> parse_args |> build_paths |> background |> process |>
cleanup
args |> parse_args |> build_paths |> background |> process |>
cleanup
None
• { code , results } = File.Stat(path) • {
:ok , results } = File.Stat(path)
• { code , results } = File.Stat(path) • {
:ok , results } = File.Stat(path)
None
def build({options,[head | tail]}) do {options,process( head ),tail } end
def build_paths(:help) do IO.puts @moduledoc System.halt(0) end
def build({options,[head | tail]}) do {options,process( head ),tail } end
def build_paths(:help) do IO.puts @moduledoc System.halt(0) end
None
def sum_list([head|tail], accumulator) do sum_list(tail, head + accumulator) end def
sum_list([], accumulator) do accumulator end
def sum_list([head|tail], accumulator) do sum_list(tail, head + accumulator) end def
sum_list([], accumulator) do accumulator end
None
if( a == 1 , do: b = 1, :else
b = 2) if a == 1 do b = 1 else b = 2 end
if( a == 1 , do: b = 1, :else
b = 2) if a == 1 do b = 1 else b = 2 end
None
time elixir --erl "+P 1000000" -r chain.exs -e "Chain.run(1_000_000)" {13896652,
"Result is 1000000”} 15.75 real 7.26 user 8.45 sys
time elixir --erl "+P 1000000" -r chain.exs -e "Chain.run(1_000_000)" {13896652,
"Result is 1000000”} 15.75 real 7.26 user 8.45 sys
None
Erlang OTP Concurrency Actors, Tasks, Applications GenServer GenEvents
Erlang OTP Concurrency Actors, Tasks, Applications GenServer GenEvents
More Resources • www.elixir-lang.org - Installation instructions and excellent tutorial.
• Goggle Groups : elixir-lang-talk • Stack Overflow: tag elixir