A type and effect system for implementing functional arrays with destructive updates | IEEE Conference Publication | IEEE Xplore