When reading code, I like to be able to form sentences in my head. For example, x <- getChar
could be something like "x slurps getChar". Or a . b
would be "b applied to a".
But when it comes to the Monadic Bind operator f >>= g
, I just leave a mental gap in the sentence in my head, because I don't know how to read it.
I thought about "f binds g", but that feels wrong. What suggestions do you have?
The proposed duplicate link contains some really nice answers for other operators, but for the bind operator the answers just say "bind". However, "f bind g" doesn't seem meaningful to me.