Comment by fanf2
1 month ago
Functions are partial in most programming languages, so the fact that arrays are best modelled as partial functions (rather than total functions) isn’t a huge obstacle.
1 month ago
Functions are partial in most programming languages, so the fact that arrays are best modelled as partial functions (rather than total functions) isn’t a huge obstacle.
Yeah, in languages with effects (exceptions/panics). That is a bit more than a partial function though.