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
Introduction to Elm
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Dorian Karter
December 04, 2015
Programming
180
2
Share
Introduction to Elm
Talk I gave at Hashrocket Mini Conf about the wonderful Elm language.
Dorian Karter
December 04, 2015
More Decks by Dorian Karter
See All by Dorian Karter
Building Multiplayer Games with Phoenix LiveView
dkarter
2
490
Going All In with NeoVim
dkarter
0
270
Versioning APIs in Phoenix
dkarter
1
180
Integration Testing with Page Objects
dkarter
3
180
Build Your First Vim Plugin
dkarter
1
270
Other Decks in Programming
See All in Programming
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
290
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
140
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.1k
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
110
How to stabilize UI tests using XCTest
akkeylab
0
150
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
290
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
4
2.2k
AI活用のコスパを最大化する方法
ochtum
0
360
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
520
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
270
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
190
KATA
mclloyd
PRO
35
15k
Six Lessons from altMBA
skipperchong
29
4.2k
Prompt Engineering for Job Search
mfonobong
0
240
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Fireside Chat
paigeccino
42
3.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
160
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Believing is Seeing
oripsolob
1
100
ラッコキーワード サービス紹介資料
rakko
1
2.8M
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Transcript
Make the web functional again. Elm
What is Elm?
Functional Reactive Programming Language
Statically Typed
Compiles to JavaScript Generates HTML and CSS
Evan Czaplicki Present: Developed in 2012 by
Why Elm?
No more runtime exceptions!
Pure X ⇒ Y
Immutable
Blazing Fast Rendering
State History (and free time travelling debugger)
Type inference (but you’ll end up defining your types)
Interactive Programming Due to Hot Swapping
Composable Components Like React, but components can run independently
Amazing Tools!
REPL Package Manager Compiler Reactor Debugger
None
None
Free and Automatic Semantic Versioning
Smooth JavaScript interop JS
Easy(er) syntax and lower learning curve * When compared to
other functional languages ** terms and conditions may apply
Elm Syntax Crash Course
Literals
Manipulating Literals
Lists
Functions Anonymous functions
Records
Type Annotations
Type Aliases
Elm Architecture Basic Concepts
MUV = { Model Update View }
None
Signals
None
None
Mailboxes
DEMO
Thank You!