News for hackers. Stuff that matters.
Re:Applicative WTF? by lmm on Wednesday October 24, 2018 @09:37AM (#18292260)
I don't know about "many", but certainly some - e.g. you could form a "reversed MonadWriter" applicative that would write the messages from ma before the messages from mf. For a lot of monads the effects are commutative though, in which case the "two possible" Applicatives are actually the same, e.g. Maybe obviously behaves the same whichever order you "run" mf and ma in.
Re:Applicative WTF? by taejo on Friday October 26, 2018 @03:44AM (#18307470)
My "many" exactly meant to exclude the commutative case :)