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
1
210
Elixir: Gentle Introduction to Functional Programming
Slides for a lightning talk introducing elixir at the Stanford IT Unconference
bbense
October 30, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
「ブロックテーマでは再現できない」は本当か?
inc2734
0
590
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
170
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
910
CSC307 Lecture 07
javiergs
PRO
0
550
SourceGeneratorのススメ
htkym
0
190
CSC307 Lecture 05
javiergs
PRO
0
500
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
150
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
250
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
4
320
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
250
AgentCoreとHuman in the Loop
har1101
5
220
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
The Curse of the Amulet
leimatthew05
1
8.3k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
77
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Building the Perfect Custom Keyboard
takai
2
680
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
sira's awesome portfolio website redesign presentation
elsirapls
0
140
A Soul's Torment
seathinner
5
2.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
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