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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hiroki Yoshioka
October 29, 2018
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
高階関数みたいな鳥たちの森
#megurorb
Hiroki Yoshioka
October 29, 2018
More Decks by Hiroki Yoshioka
See All by Hiroki Yoshioka
RubyとPythonはどちらが速いのか
irohiroki
0
210
ペアプロってどうなの?
irohiroki
0
110
スクラムマスターは何をすべきか
irohiroki
1
670
Pattern Language for Rubyists (Rev.2)
irohiroki
1
400
The Most Beautiful Vagrant Box
irohiroki
1
250
ドメイン駆動設計ワークショップ in KRAY
irohiroki
1
350
Gitはなぜ難しいのか
irohiroki
4
25k
Github APIを叩いて分かったこと
irohiroki
1
710
The Metric Talks or Not
irohiroki
2
1.1k
Other Decks in Programming
See All in Programming
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
160
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
310
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
280
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
230
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
440
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
310
関係性から理解する"同一性"の型用語たち
pvcresin
2
640
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
300
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.6k
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.1k
A2UI という光を覗いてみる
satohjohn
1
100
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
10k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Site-Speed That Sticks
csswizardry
13
1.2k
GitHub's CSS Performance
jonrohan
1033
470k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
RailsConf 2023
tenderlove
30
1.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
220
The Invisible Side of Design
smashingmag
302
52k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
YesSQL, Process and Tooling at Scale
rocio
174
15k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
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