Live Script
10 Feb, 2016 / Meguro.es #2
Pine Mizune
Slide 2
Slide 2 text
⾃⼰紹介
o ID / HN: @pine613
o 好きな言語: JavaScript / Crystal
o 仕事で書いてる: Perl / Swift / Kotlin
o Mobile Factory, Inc
o 最寄り: 五反田駅
o 本日は @mizuki_r 氏の代打です
⽬⿊のとなり
カリー化
f = (* 2)
f(8) # => 16
f = (a, b) --> a + b
g = f(2)
g(8) #=> 16
部分的に引数を固定した関数を得る
LiveScript
Slide 14
Slide 14 text
関数合成
f = (x) => x + 2
g = (x) => x * 10
(f >> g) 3 #=> 50
LiveScript
2つの関数を合成して関数を生成
let f = (x) => x + 2
let g = (x) => x * 10
g(f(3)) #=> 50
JavaScript
【宣伝】Gotanda.js #3 開催します
n Gotanda.js #3 in freee
ü 日時: 2016 年 3 月 11 日 (金)
ü 会場: freee 株式会社
ü 内容: LT x 8 (5min LT x 8)
ü 申し込みは Connpass から!
http://gotandajs.connpass.com/event/26027/