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
Dorian Karter
December 04, 2015
Programming
2
170
Introduction to Elm
Talk I gave at Hashrocket Mini Conf about the wonderful Elm language.
Dorian Karter
December 04, 2015
Tweet
Share
More Decks by Dorian Karter
See All by Dorian Karter
Building Multiplayer Games with Phoenix LiveView
dkarter
2
440
Going All In with NeoVim
dkarter
0
240
Versioning APIs in Phoenix
dkarter
1
160
Integration Testing with Page Objects
dkarter
3
150
Build Your First Vim Plugin
dkarter
1
250
Other Decks in Programming
See All in Programming
マイグレーションコード自作して File-Based Routing に自動移行!! ~250 ページの歴史的経緯を添えて~
cut0
1
260
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
390
Regular Expressions, REXML, Automata Learning
makenowjust
0
220
REXML改善のその後
naitoh
0
190
watsonx.ai Dojo #2 生成AIを使ったアプリ開発入門編
oniak3ibm
PRO
0
110
Google Sign-inの移行から始めるCredential Manager活用
clockvoid
0
220
エンジニア1年目で複雑なコードの改善に取り組んだ話
mtnmr
3
2k
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
250
実践 Advanced CallKit 〜快適な通話の実現に向けて〜
mot_techtalk
3
140
Increased Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
330
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
Kotlin 2.0が与えるAndroid開発の進化
masayukisuda
1
370
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
166
48k
How STYLIGHT went responsive
nonsquared
93
5.1k
Into the Great Unknown - MozCon
thekraken
29
1.4k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
109
6.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Code Reviewing Like a Champion
maltzj
517
39k
Build your cross-platform service in a week with App Engine
jlugia
228
18k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.8k
Side Projects
sachag
451
42k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
8.9k
How to Ace a Technical Interview
jacobian
274
23k
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!