'When implementing bind, why name the second parameter k? [closed]
instance Monad M where
m >>= k = ...
Also is there a name for functions which are used as this second argument to bind?
Solution 1:[1]
Answered in the comments
I'd guess that k stands for something like "kontinue with the kontinuation k
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tom Huntington |
