inactive-useron Lobsters • Recommends
Haskell Nuggets Power Series Brought to Life (2015)
by Doug McIlroy
#powerseries#lazyevaluation#dougmcilroy
42K subscribers • 85 videos on Hallway • Conference channel
Intermediate. Assumes working knowledge.
2.5K views10 years ago2 recommendations
Programming languagesComputer scienceHaskellMath for programmers
Doug McIlroy demonstrates how overloading and lazy evaluation in Haskell can elegantly represent operations on power series.
Operations on power series showcase the elegance and expressiveness of overloading and lazy evaluation. Simple one-liners for sum, product, integral, derivative, functional composition, functional inverse, etc. vividly embody the underlying mathematics, and even improve upon it by banishing subscripts. Series solutions of differential equations come practically for free and generating functions actively generate.What people say. Recommended as an excellent demonstration of using Haskell's lazy evaluation to model power series.
inactive-useron Lobsters • Recommends
u/subleqin r/haskell • Recommends
On “I'm learning calculus for the first time. If you were me, how would you use Haskell to get calculus-fu and increase Haskell-fu?”