@dcsobral s/out/it sorry
-
-
Replying to @dave_griffith
@dave_griffith@dcsobral I might be missing it. case class Distribution[A](a: get). Where is the difference?1 reply 0 retweets 0 likes -
Replying to @dave_griffith
@dave_griffith@dcsobral These are operations on Distribution. The structure is the same right?1 reply 0 retweets 0 likes -
Replying to @dave_griffith
@dave_griffith@dcsobral Which laws break? https://github.com/tonymorris/probability-monad/blob/master/src/main/scala/probability-monad/Distribution.scala#L441 …2 replies 0 retweets 0 likes -
Replying to @dibblego
@dibblego@dave_griffith I don't think that pure makes sense.2 replies 0 retweets 0 likes -
Replying to @dcsobral
@dcsobral@dave_griffith Does it obey the necessary laws?1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@dave_griffith@dcsobral yes, parametricity says so. Examples implement get using side-effects, so breaks monad laws.3 replies 0 retweets 0 likes
@puffnfresh @dave_griffith @dcsobral Instead of B, Cokleisli[RngOp, Int, B] for example
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.