I was being paranoid about the case where there are no images in a pod. If that ever happens then il[0] is a run-time error -- right? Otherwise, this is a pattern match -- a very dear thing to Haskell programmer :-) 