
What is a mutation function?
The Eric Normand Podcast
00:00
Mutation Functions - How to Represent Change of State Over Time
Mutation function is how you represent change of state over time. It doesn't actually mutate the argument that you pass it. And so it is immutable. None of the values have changed. They're all immutable. So this mutation function now is kind of universal for all the operations that are possible. You just have one function that takes any of the possible operations with its arguments.
Transcript
Play full episode