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
140
高階関数みたいな鳥たちの森
#megurorb
Hiroki Yoshioka
October 29, 2018
Tweet
Share
More Decks by Hiroki Yoshioka
See All by Hiroki Yoshioka
RubyとPythonはどちらが速いのか
irohiroki
0
170
ペアプロってどうなの?
irohiroki
0
100
スクラムマスターは何をすべきか
irohiroki
1
640
Pattern Language for Rubyists (Rev.2)
irohiroki
1
350
The Most Beautiful Vagrant Box
irohiroki
1
230
ドメイン駆動設計ワークショップ in KRAY
irohiroki
1
320
Gitはなぜ難しいのか
irohiroki
4
25k
Github APIを叩いて分かったこと
irohiroki
1
690
The Metric Talks or Not
irohiroki
2
980
Other Decks in Programming
See All in Programming
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
920
CSC509 Lecture 04
javiergs
PRO
0
290
Model Pollution
hschwentner
1
180
2025年版 サーバーレス Web アプリケーションの作り方
hayatow
23
25k
WebエンジニアがSwiftをブラウザで動かすプレイグラウンドを作ってみた
ohmori_yusuke
0
170
CSC509 Lecture 05
javiergs
PRO
0
290
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
180
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
130
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
390
実践AIチャットボットUI実装入門
syumai
7
2.5k
ネイティブ製ガントチャートUIを作って学ぶUICollectionViewLayoutの威力
jrsaruo
0
130
Pythonスレッドとは結局何なのか? CPython実装から見るNoGIL時代の変化
curekoshimizu
4
1.3k
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
237
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
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