Hi > unsuitable. It seems that a Map Int (Map Int a) is the most suitable > structure, but this seems cumbersome. You might want to use IntMap, which is a version of Map specialised to Int's, with better time bounds. Thanks Neil