By Alvin Alexander. Last updated: June 4, 2016
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).