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
ELM 101
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
David Anguita
September 08, 2017
Technology
89
0
Share
ELM 101
Sample code at
https://github.com/danguita/elm-workshop
David Anguita
September 08, 2017
More Decks by David Anguita
See All by David Anguita
React on Rails
danguita
0
150
Docker 101 Rubyist Edition
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
210
Other Decks in Technology
See All in Technology
The Making of AI Chips
pfn
PRO
0
760
TSKaigi 2026 - 型プラグインシステムの実装に使われるテクニック
teamlab
PRO
2
350
権限管理設計を完全に理解した
rsugi
1
200
イベントで大活躍する電子ペーパー名札 〜その3〜 / ビジュアルプログラミングIoTLT vol.23
you
PRO
0
130
既存プロダクトQAから新規プロダクトQAへ
ryotakahashi
0
200
「使われるデータ基盤」を目指してデータアナリストとワークショップをやった話
jackojacko_
2
850
AI駆動開発でなんでもハンズオン環境をつくってみた
yoshimi0227
0
120
Copilot CLI・IDE・Web・スマホで途切れない開発フローを目指して / One Copilot flow - CLI IDE Web Mobile
aeonpeople
1
990
GCASアップデート(202603-202605)
techniczna
0
280
Amazon Bedrock 経由の Claude Cowork を試してみよう・MCP にも繋いでみよう
sugimomoto
0
150
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
3
790
大規模環境でどのように監視を実現する?
yuobayashi
1
140
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
It's Worth the Effort
3n
188
29k
Designing for Timeless Needs
cassininazir
1
230
My Coaching Mixtape
mlcsv
0
130
Designing Powerful Visuals for Engaging Learning
tmiket
1
380
Speed Design
sergeychernyshev
33
1.7k
A designer walks into a library…
pauljervisheath
211
24k
Producing Creativity
orderedlist
PRO
348
40k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
820
The Cult of Friendly URLs
andyhume
79
6.9k
Embracing the Ebb and Flow
colly
88
5k
Transcript
ELM 101 David Anguita @ Jobandtalent
None
The core language
• Purely functional (looks like Haskell) • Expressive syntax •
Statically typed • Immutable data structures • Very nice debugger • Compiles to JavaScript
No more runtime exceptions
How does it look like?
DEMO
The Elm Architecture
Model — the state of your application Update — a
way to update the state View — a way to view your state as HTML
Command — triggers an event identified by a Message type
Subscription — listens for external input
Image credit: https://sporto.github.io/elm-workshop/
VS React + Redux
Elm React + Redux Model State Update Reducer Message Action
(kind of)
DEMO
Where to get started
• http://elm-lang.org/docs/ • http://package.elm-lang.org/packages/elm-lang/core/latest/ • NoRedInk/elm-style-guide + avh4/elm-format • https://guide.elm-lang.org
• isRuslan/awesome-elm
Thank you
Questions?
Jobandtalent, September 2017