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
How to write like Cats
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Shannon
August 28, 2019
Technology
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to write like Cats
Shannon
August 28, 2019
More Decks by Shannon
See All by Shannon
Signify Bootcamp
signify
0
290
Event Sourcing Blockchains at TokenAnalyst
signify
0
150
The Last Frontier and Beyond
signify
0
150
Jon Pither
signify
0
250
Kubernetes as a Streaming Data Platform with Kafka, Spark, and Scala
signify
0
100
Writing human readable tests using Scala
signify
0
160
Making Contracts Smart, Secure and Functional with DAML and Scala
signify
0
140
Ansible and Scala Projects
signify
0
290
Automatic differentiation in Scala by Xiayun Sun
signify
0
420
Other Decks in Technology
See All in Technology
ループエンジニアリングでE2Eテストを実践
noriyukitakei
0
330
Claude Code 珍プレー好プレー
shinyasaita
0
300
完全自律ロボットを作りたくて、先に開発を自律させた話(ROS Japan UG #63 LT)
rryz09
0
440
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
2.2k
しくみを学んで使いこなそう GitHub Copilot app
torumakabe
1
120
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
390
グローバルチームと挑むプロダクト開発
sansantech
PRO
1
170
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
190
AWS Summit の片隅で、体育座りしながらコミュニティがにぎわう理由を考えた
k_adachi_01
2
370
脱金融のフューチャー・デザイン / Future Design Beyond Finance
ks91
PRO
0
140
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
280
LiDAR SLAMの実装とセンサ融合 ~Lie群からContinuous-Time LIOまで~
naokiakai
1
1k
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.4k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
380
The SEO identity crisis: Don't let AI make you average
varn
0
510
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
240
The SEO Collaboration Effect
kristinabergwall1
1
500
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
The Cost Of JavaScript in 2023
addyosmani
55
10k
Done Done
chrislema
186
16k
Balancing Empowerment & Direction
lara
6
1.2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
230
Transcript
How to write like cats
None
What we won’t be talking about What we will be
talking about • Category theory • Monads, Monoids, Functors etc. • Effect types • Polymorphism • Type classes • Implicits
Subtype polymorphism
Subtype polymorphism ↓ Ad-hoc Polymorphism (Type classes)
None
Live coding! github.com/MontyWest/tech-talk-typeclass
Type Classes • Can add functionality to types you don’t
‘own’. • Can change functionality in different scopes. • Higher level of abstraction, composability and applicability. • Enables library like Cats, allows others to do your work for you!
Links to follow • Typelevel Cats: https://typelevel.org/cats/ • Typelevel blog:
https://typelevel.org/cats/typeclasses.html • Talks: ◦ Petra Bierleutgeb, Polymorphism in Scala: https://www.youtube.com/watch?v=-SA1Ui283Qc ◦ Rob Norris, ScalaX keynote: https://skillsmatter.com/skillscasts/11626-keynote- pushing-types-and-gazing-at-the-stars
Thanks for listening! Any Questions?