[Haskell-cafe] Trapped by the Monads
lennart at augustsson.net
Tue Sep 20 16:55:47 EDT 2005
Mark Carter wrote:
> OTOH, I think Charles Moore is quoted as saying that if he want to add 1
> to the letter A, then he didn't want the programming language to stop
> him. Which is quite a contrast to Haskell and its notions on safety. I'm
> not flamebaiting, you understand, I'm just pointing out the various
> viewpoints to the argument.
I agree with Charles Moore, if I take his statement to mean that I
should be able to add 1 to the bit pattern for the letter A (in some
encoding) and the interpret that as a character again.
But I would not want the conversions to be implicit (unless the letter
A is defined to be the same as an integer, as it is in C).
More information about the Haskell-Cafe