Programming and Math
summary
Shows an algebra of functions with concrete Haskell code: purity forces IO types, composition and associativity hold, identity and constant functions become useful via foldr and flatMap id, length is implemented with foldl plus const and successor, enums are transformed as isomorphisms, products and coproducts use tuples and control.arrow, and many equational proofs are worked out (paper cited is by Jose Aliveria; examples compile and the laws check out).
AI-written summary · about
chapters (9)
- 0:00Start
- 2:48function application
- 3:26function composition (2/3)
- 10:01composition is associative
- 11:12identity function(s) (1/2)
- 18:41constant function()
- 24:47isomorphisms
- 45:45+ of two functions
- 48:57summary
related talks
23mLogarithm and Program Testing
46mTesting in the world of Functional Programming
49mProgramming Safely in an Uncertain World (Part 1)
51mWhen Types are Not Enough
44mTypes and Property Tests for Software Resiliency
49mA Practical Introduction to Eff in Haskell
44mMonads for Testers
25mScale By The Bay 2018 Unconference: Joe Kachmar
