lookupNewBase :: VName -> [PrimExp VName] -> RebaseMap -> Maybe IxFun
lookupNewBase name dims = fmap ($dims) . M.lookup name . rebaseMap
lookupNewBase :: VName -> [PrimExp VName] -> RebaseMap -> Maybe IxFun
lookupNewBase name dims = fmap ($dims) . M.lookup name . rebaseMap
lookupNewBase name dims = fmap ($dims) . M.lookup name . rebaseMap