Perl 6 Perl 6 Lists, Arrays, and Hashes vivified #57

Summary

Key classes and roles:

List         Iterable
Array        Iterator
Parcel       ListIter
Positional   MapIter
Range        GatherIter
Nil

Contexts:

list context - interpolates Iterables
flat context - also interpolates Parcels
item context - prevents flattening
lol  context - creates lists-of-lists

Iterator immutability key to avoiding action-at-distance

Copyright © 2011
http://www.pmichaud.com/2011/pres/