Skip to content
0:00 / 0:00

#powerseries#lazyevaluation#dougmcilroy

LambdaConf 2015 - Haskell Nuggets Power Series Brought to Life Doug McIlroy

Confreaks

42K subscribers • 85 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • A classic. People kept recommending it from 2016 to 2020.
  • Presented by Doug McIlroy, computer scientist

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.

Why it's here

2 people recommend this

What people say. Recommended as an excellent demonstration of using Haskell's lazy evaluation to model power series.

inactive-useron Lobsters • Recommends

Haskell Nuggets Power Series Brought to Life (2015) by Doug McIlroy

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?”

I like this talk about power series by Douglas McIlroy: link to this video Text version: http://www.cs.dartmouth.edu/~doug/powser.html