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
170
git入門
uzimaru0000
1
340
Webフロントエンド入門
uzimaru0000
1
450
WebフロントエンジニアはOSの夢を見る
uzimaru0000
0
360
BrainFuckをつくった
uzimaru0000
0
520
Blogを作った話 -Zli x DeNA-
uzimaru0000
1
190
Compression Vue App
uzimaru0000
0
130
好きなライブラリ_OSS
uzimaru0000
0
230
Other Decks in Programming
See All in Programming
1から理解するWeb Push
dora1998
7
1.9k
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
320
私の後悔をAWS DMSで解決した話
hiramax
4
210
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
130
AIでLINEスタンプを作ってみた
eycjur
1
230
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
760
今から始めるClaude Code入門〜AIコーディングエージェントの歴史と導入〜
nokomoro3
0
180
AWS発のAIエディタKiroを使ってみた
iriikeita
1
190
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
130
Design Foundational Data Engineering Observability
sucitw
3
200
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
880
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Documentation Writing (for coders)
carmenintech
74
5k
Building Applications with DynamoDB
mza
96
6.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Become a Pro
speakerdeck
PRO
29
5.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
920
Scaling GitHub
holman
463
140k
Statistics for Hackers
jakevdp
799
220k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
GitHub's CSS Performance
jonrohan
1032
460k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
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を忍び込ませよう!!
ありがとうございました