functional-programming-pedalboard
Updated: March 20, 2021
Possible blog draft
-
I’m vaguely familiar with functional programming in Javascript and have found idiomatic functional bits of code very alluring.
-
Things like array.filter().map().reduce() just looks so good
-
More recently I began teaching myself Haskell. A a strictly functional language, this embodies a lot of what I liked.
-
I’m beginning to realize that my affinity here is related to how guitar effects chains work, and the part that each pedal plays in the signal flow
-
Each pedal frequently does an operation that only modifies the incoming signal and nothing else. This essentially makes it an abstract pure function that can then be chained with others to form a composition.