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で作るCLI
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
uzimaru0000
May 04, 2020
Programming
0
140
Elmで作るCLI
https://othlotech.connpass.com/event/174247/
で話したElmの話です。
uzimaru0000
May 04, 2020
Tweet
Share
More Decks by uzimaru0000
See All by uzimaru0000
OGPを使いたい
uzimaru0000
0
170
git入門
uzimaru0000
1
350
Webフロントエンド入門
uzimaru0000
1
450
WebフロントエンジニアはOSの夢を見る
uzimaru0000
0
360
BrainFuckをつくった
uzimaru0000
0
550
Blogを作った話 -Zli x DeNA-
uzimaru0000
1
200
Compression Vue App
uzimaru0000
0
130
好きなライブラリ_OSS
uzimaru0000
0
230
Other Decks in Programming
See All in Programming
CSC307 Lecture 05
javiergs
PRO
0
500
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Patterns of Patterns
denyspoltorak
0
1.4k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
Implementation Patterns
denyspoltorak
0
280
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
220
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
Oxlint JS plugins
kazupon
1
870
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
330
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Paper Plane
katiecoart
PRO
0
46k
Six Lessons from altMBA
skipperchong
29
4.1k
Done Done
chrislema
186
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Transcript
Elmで作るCLI うじまる
自己紹介 - 名前 - うじまる - 学年 - B4(21卒) -
好きなプログラミング言語 - TypeScript - Elm - 趣味 - 料理 - コーヒー - SNS - @uzimaru0000
Elmって知ってますか?
Elmとは?
そんなElmですが
Webフロントエンドだけだと 思ってませんか?
CLIツール、作れるんです
なんならサーバーも作れます
どういうこと?
どういうこと?
どういうこと?
仕組み `Platform.worker` という関数を使ってElmのアプリケーションを作成 port という機能を使ってJSとElmをつないであげる
仕組み
仕組み
仕組み
仕組み
仕組み
仕組み - I/O はHTTPになってもいいし、stdin/out になってもいい - Elmがやる部分はアプリケーションのロジック - JSは、InputのデータをElmに渡して処理された値を出力するだけ
これ、何かに見えませんか?
関数ですね
次回 いろんなプログラムに Elmを忍び込ませよう!!
ありがとうございました