@a[*-1]
is the last element in @a
@a[ ]
is passed a closure, it evaluates it passing the number of elements in @a as the argument@a[*/2]
is a middle element in @a
@a[1..*-2]
is every element but the first and last1, 1, * + * ... *
is the infinite sequence of Fibonacci numbers