groostav
03/19/2019, 9:38 PMChannel
a monad?streetsofboston
03/19/2019, 9:43 PMmap
and `flatMap`… in that way, yes, it’s a monad 🙂streetsofboston
03/19/2019, 9:45 PMJob
is not a monadgroostav
03/19/2019, 9:51 PMEmptyChannel
really a fair empty case? How does suspension play into it? If Channel
is monadic, then BlockingQueue
is too? I'm just... hmm.addamsson
03/19/2019, 9:57 PMstreetsofboston
03/19/2019, 10:01 PMapplicative
a Channel is.. (does it have a just
function?)
But it has map and flatMap and that is something 🙂
But in the true sense of the word, a Channel may not be monadic.streetsofboston
03/19/2019, 10:04 PMObservableK
, etc from their Arrow library). Maybe they are already thinking about a ChannelK
type 🙂addamsson
03/20/2019, 11:24 AM