By Alvin Alexander. Last updated: April 12, 2024
I just saw this drawing on the Learn You a Haskell website, and I wish I had done something visual like it for the Scala Cookbook. It does a nice job of showing the head
, tail
, init
, and last
functions (methods).