Loading video...

Video Failed to Load

Go Home

#RealLife non-math example that illustrates why function composition is not commutative. #MTBoS #ITeachMath

27,011 views • 3 years ago •via X (Twitter)

5 Comments

Dan Schroeder's profile picture
Dan Schroeder3 years ago

@a_freeparticle When I was in grad school one of my housemates (a math student) was once sitting at the dinner table when he lifted the bottle of salad dressing, paused, and said: "The operations of shaking the bottle and removing the cap do not commute."

Muhammad Fahad's profile picture
Muhammad Fahad3 years ago

Nice 👍

Tim Brzezinski's profile picture
Tim Brzezinski3 years ago

Thank you! 🙂

EmacsTheViking's profile picture
EmacsTheViking3 years ago

Finally I get why a monad is not a burrito!!! It's because all this time it was actually a laundrette, and the identity function is putting dry, dirty clothes into the dryer. No wonder I didn't get Haskell sooner. Thanks for this.

chrïs's profile picture
chrïs3 years ago

depends on the property for example, if the property is colour then the output is invariant to composition.

Related Videos