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
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Elmで作るCLI
https://othlotech.connpass.com/event/174247/
で話したElmの話です。
uzimaru0000
May 04, 2020
More Decks by uzimaru0000
See All by uzimaru0000
OGPを使いたい
uzimaru0000
0
190
git入門
uzimaru0000
1
370
Webフロントエンド入門
uzimaru0000
1
460
WebフロントエンジニアはOSの夢を見る
uzimaru0000
0
370
BrainFuckをつくった
uzimaru0000
0
580
Blogを作った話 -Zli x DeNA-
uzimaru0000
1
220
Compression Vue App
uzimaru0000
0
140
好きなライブラリ_OSS
uzimaru0000
0
240
Other Decks in Programming
See All in Programming
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
940
VibeCodingからAgenticWorkflowへ
starfish719
0
480
Foundation Models frameworkで画像分析
ryodeveloper
1
620
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
180
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
440
メールのエイリアス機能を履き違えない
isshinfunada
0
240
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
120
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
150
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
5
1.4k
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
370
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
110
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
510
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Site-Speed That Sticks
csswizardry
13
1.4k
A Tale of Four Properties
chriscoyier
163
24k
Thoughts on Productivity
jonyablonski
76
5.3k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Making the Leap to Tech Lead
cromwellryan
135
10k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
300
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を忍び込ませよう!!
ありがとうございました