in reply to Passing references to array slices

As far as I know, you can't grab a reference to a slice. References can only refer to first-class datatypes (such as the things which can inhabit fields of a typeglob).

A slice is not a first-class datatype, but a syntactic shortcut which implies certain simple logic, like, "by the way, please iterate over these elements."

--
[ e d @ h a l l e y . c c ]