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
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
220
ペアプロってどうなの?
irohiroki
0
120
スクラムマスターは何をすべきか
irohiroki
1
680
Pattern Language for Rubyists (Rev.2)
irohiroki
1
410
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
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
270
信頼性の目標を誰も求めてない
shubox
0
470
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
130
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
130
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.4k
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
560
Oxlintはいいぞ(続)
yug1224
1
510
VibeCodingからAgenticWorkflowへ
starfish719
0
1.1k
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
510
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
120
源内ハンズオン概要編
hideg
0
240
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
270
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
410
Mobile First: as difficult as doing things right
swwweet
225
10k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
Utilizing Notion as your number one productivity tool
mfonobong
4
560
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
960
Practical Orchestrator
shlominoach
191
12k
How to build a perfect <img>
jonoalderson
1
5.9k
Building Adaptive Systems
keathley
44
3.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
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