$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ELM 101
Search
David Anguita
September 08, 2017
Technology
0
80
ELM 101
Sample code at
https://github.com/danguita/elm-workshop
David Anguita
September 08, 2017
Tweet
Share
More Decks by David Anguita
See All by David Anguita
React on Rails
danguita
0
140
Docker 101 Rubyist Edition
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
200
Other Decks in Technology
See All in Technology
5分で知るMicrosoft Ignite
taiponrock
PRO
0
330
Snowflakeでデータ基盤を もう一度作り直すなら / rebuilding-data-platform-with-snowflake
pei0804
4
1.3k
SSO方式とJumpアカウント方式の比較と設計方針
yuobayashi
7
590
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.3k
Gemini でコードレビュー知見を見える化
zozotech
PRO
1
240
AI駆動開発における設計思想 認知負荷を下げるフロントエンドアーキテクチャ/ 20251211 Teppei Hanai
shift_evolve
PRO
2
340
Edge AI Performance on Zephyr Pico vs. Pico 2
iotengineer22
0
130
意外とあった SQL Server 関連アップデート + Database Savings Plans
stknohg
PRO
0
300
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
190
WordPress は終わったのか ~今のWordPress の制作手法ってなにがあんねん?~ / Is WordPress Over? How We Build with WordPress Today
tbshiki
1
670
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
6
1.4k
AWSセキュリティアップデートとAWSを育てる話
cmusudakeisuke
0
220
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
How to train your dragon (web standard)
notwaldorf
97
6.4k
Being A Developer After 40
akosma
91
590k
RailsConf 2023
tenderlove
30
1.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
How STYLIGHT went responsive
nonsquared
100
6k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Git: the NoSQL Database
bkeepers
PRO
432
66k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Balancing Empowerment & Direction
lara
5
790
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