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
高階関数みたいな鳥たちの森
Search
Hiroki Yoshioka
October 29, 2018
Programming
0
120
高階関数みたいな鳥たちの森
#megurorb
Hiroki Yoshioka
October 29, 2018
Tweet
Share
More Decks by Hiroki Yoshioka
See All by Hiroki Yoshioka
RubyとPythonはどちらが速いのか
irohiroki
0
160
ペアプロってどうなの?
irohiroki
0
87
スクラムマスターは何をすべきか
irohiroki
1
620
Pattern Language for Rubyists (Rev.2)
irohiroki
1
340
The Most Beautiful Vagrant Box
irohiroki
1
220
ドメイン駆動設計ワークショップ in KRAY
irohiroki
1
300
Gitはなぜ難しいのか
irohiroki
4
25k
Github APIを叩いて分かったこと
irohiroki
1
680
The Metric Talks or Not
irohiroki
2
930
Other Decks in Programming
See All in Programming
英語 × の私が、生成AIの力を借りて、OSSに初コントリビュートした話
personabb
0
190
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.3k
Building a macOS screen saver with Kotlin (Android Makers 2025)
zsmb
1
140
SwiftUI API Design Lessons
niw
1
260
エンジニア未経験が最短で戦力になるためのTips
gokana
0
260
Building Scalable Mobile Projects: Fast Builds, High Reusability and Clear Ownership
cyrilmottier
2
260
Kamal 2 – Get Out of the Cloud
aleksandrov
1
180
Do Dumb Things
mitsuhiko
0
430
Day0 初心者向けワークショップ実践!ソフトウェアテストの第一歩
satohiroyuki
0
830
Deoptimization: How YJIT Speeds Up Ruby by Slowing Down / RubyKaigi 2025
k0kubun
0
500
The Weight of Data: Rethinking Cloud-Native Systems for the Age of AI
hollycummins
0
270
Rollupのビルド時間高速化によるプレビュー表示速度改善とバンドラとASTを駆使したプロダクト開発の難しさ
plaidtech
PRO
1
160
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.1k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Practical Orchestrator
shlominoach
186
10k
Typedesign – Prime Four
hannesfritz
41
2.6k
Product Roadmaps are Hard
iamctodd
PRO
52
11k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
For a Future-Friendly Web
brad_frost
176
9.7k
Music & Morning Musume
bryan
47
6.5k
Visualization
eitanlees
146
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
30k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
How STYLIGHT went responsive
nonsquared
99
5.5k
Transcript
Copyright Drecom Co., Ltd. All Rights Reserved. !1 ߴ֊ؔΈ͍ͨͳௗͨͪͷ
٢ԬͻΖ͖ʢ͍Ζ JSPIJSPLJʣ
Copyright Drecom Co., Ltd. All Rights Reserved. !2 高階関数みたいな鳥たちが 思い通りの返事をするように
並べましょう。 Bluebird!
Copyright Drecom Co., Ltd. All Rights Reserved. !3 鳥A に「B」と呼びかけると
「B」と返す B B A AB = B 記法
Copyright Drecom Co., Ltd. All Rights Reserved. !4 鳥Aに「B」と呼びかけて 教えてもらった鳥に
「C」と呼びかける B A ABC C 記法
Copyright Drecom Co., Ltd. All Rights Reserved. !5 Identity Bird
Ix = x x x I
Copyright Drecom Co., Ltd. All Rights Reserved. Kestrel - チョウゲンボウ
!6 Kxy = x x K y x
Copyright Drecom Co., Ltd. All Rights Reserved. Starling - ムクドリ
!7 Sxyz = xz(yz) x S y z
Copyright Drecom Co., Ltd. All Rights Reserved. 例題 !8 Sxyz
= xz(yz) Iと同じ返事になるように、KとSを並べなさい (K S 何⽻ ) Ix = x Kxy = x
Copyright Drecom Co., Ltd. All Rights Reserved. Kxy = x
考え中… !9 KxyのxにSを入れてみる KSy = S Ix = x
Copyright Drecom Co., Ltd. All Rights Reserved. 考え中…… !10 SxyzのxにKを入れてみる
Sxyz = xz(yz) SKyz = Kz(yz) = z Ix = x Kxy = x
Copyright Drecom Co., Ltd. All Rights Reserved. 答 !11 SKKx
= Kx(Kx) = x I = SKK
Copyright Drecom Co., Ltd. All Rights Reserved. !12 Mx =
xx x M Mockingbird - マネシツグミ
Copyright Drecom Co., Ltd. All Rights Reserved. 問題1. !13 Sxyz
= xz(yz) Mと同じ返事になるように、SとIを並べなさい (S I 何⽻ ) Ix = x Mx = xx
Copyright Drecom Co., Ltd. All Rights Reserved. !14 Dove &
Bluebird - ハト&ルリコマドリ Dxyzw = xy(zw) Bxyz = x(yz)
Copyright Drecom Co., Ltd. All Rights Reserved. 問題2. !15 Dと同じ返事になるようにBを並べなさい
(B 何⽻ ) Dxyzw = xy(zw) Bxyz = x(yz)
Copyright Drecom Co., Ltd. All Rights Reserved. !16 Thrush &
Cardinal - ツグミ&ショウジョウコウカンチョウ Txy = yx Cxyz = xzy
Copyright Drecom Co., Ltd. All Rights Reserved. 問題3. !17 Tと同じ返事になるようにCとIを並べなさい
(C I 何⽻ ) Txy = yx Cxyz = xzy Ix = x
Copyright Drecom Co., Ltd. All Rights Reserved. 簡単すぎるという人へ !18 すべての鳥は、SとKで再現できるそうですよ
Txy = yx Sxyz = xz(yz) Kxy = x Bxyz = x(yz) Ix = SKKx = x
Copyright Drecom Co., Ltd. All Rights Reserved. !19 応用例と参考文献 yield_self
使 - Qiita Raymond M. Smullyan, To Mock a Mocking Bird 森北出版『 ⿃ 』(訳本)
Copyright Drecom Co., Ltd. All Rights Reserved. 解答 !20 問題1.
M = SII 問題2. D = BB 問題3. T = CI