Additional notes on switches (regex and closure cases), and the for(:) notation