New lesson of Functortown
Functortown is back with a lesson on the rest of the Applicative
class, the two “bird operators,” (<*)
and (*>)
. Through three examples, we explore the sequencing role these operators play, as well as what “effects” means in the context of applicative functors. The final example is a small parsing program that showcases the utility of sometimes just throwing away your return values.