         let results = recursivelyEnumerateAllValuesFromZeroToBounds(remainingBits.dropFirst())
         
         return (0..<first).map { currentIndex -> [[Int]] in
-            return results.map {
-                return [currentIndex] + $0
-            }
+            return results.map { [currentIndex] + $0 }
             }.flatMap {$0}
     }
     

        }
    }
    
    let transform = pairs.map { (initialBound, index) -> [Int]? in
        switch index {
        case .All:
            return [Int](0..<initialBound)
        case .SingleValue:
            return nil
        case .List(let list):
            return list
        case .Range(let low, let high):
            return [Int](low..<high)
        }
    }
    
    return (shape, transform)
}

// Ugly functions get ugly names.

    
    /// The Swift.Array of `ArrayIndex` that define the view into `storage`.
    private let viewIndices: [ArrayIndex]
    
    // MARK: - Properties
    
