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
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
180
git入門
uzimaru0000
1
350
Webフロントエンド入門
uzimaru0000
1
460
WebフロントエンジニアはOSの夢を見る
uzimaru0000
0
360
BrainFuckをつくった
uzimaru0000
0
560
Blogを作った話 -Zli x DeNA-
uzimaru0000
1
200
Compression Vue App
uzimaru0000
0
130
好きなライブラリ_OSS
uzimaru0000
0
240
Other Decks in Programming
See All in Programming
Ruby and LLM Ecosystem 2nd
koic
1
810
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
950
Codex の「自走力」を高める
yorifuji
0
1.2k
文字コードの話
qnighy
44
17k
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.4k
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
100
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
200
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
180
SourceGeneratorのマーカー属性問題について
htkym
0
200
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
290
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
960
OTP を自動で入力する裏技
megabitsenmzq
0
110
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
How to Talk to Developers About Accessibility
jct
2
150
Deep Space Network (abreviated)
tonyrice
0
90
Joys of Absence: A Defence of Solitary Play
codingconduct
1
310
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
210
Designing Experiences People Love
moore
143
24k
Leo the Paperboy
mayatellez
4
1.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Building the Perfect Custom Keyboard
takai
2
710
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
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を忍び込ませよう!!
ありがとうございました