Stefan Monnier <monnier@iro.umontreal.ca> schrieb am Di., 25. Juli 2017 um 16:21 Uhr:
>> I was curious about what other functions might be pure and could be
>> added to this list.  While I seem to have guessed correctly on some,
>> I am perplexed why adding string-to-char breaks things:
> Strings are not immutable.

I agree that string-to-char is not a pure function, according to my
understanding of the meaning of "pure" in such a context.

Why? Its return value clearly only depends on its argument, and it doesn't change any global state. It's the poster child of a pure function!