Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
170
git入門
uzimaru0000
1
350
Webフロントエンド入門
uzimaru0000
1
450
WebフロントエンジニアはOSの夢を見る
uzimaru0000
0
360
BrainFuckをつくった
uzimaru0000
0
540
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
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
100
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.4k
TestingOsaka6_Ozono
o3
0
170
関数実行の裏側では何が起きているのか?
minop1205
1
710
AIエージェントの設計で注意するべきポイント6選
har1101
5
500
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.2k
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
120
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
310
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
0
150
tparseでgo testの出力を見やすくする
utgwkk
2
240
AIコーディングエージェント(NotebookLM)
kondai24
0
210
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1032
470k
Code Review Best Practice
trishagee
74
19k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
61
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
120
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
For a Future-Friendly Web
brad_frost
180
10k
Design in an AI World
tapps
0
89
Color Theory Basics | Prateek | Gurzu
gurzu
0
140
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Typedesign – Prime Four
hannesfritz
42
2.9k
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を忍び込ませよう!!
ありがとうございました