(with-monad dist-m (defn join-with "Returns the distribution of (f x y) with x from dist1 and y from dist2." [f dist1 dist2] ((m-lift 2 f) dist1 dist2)) )
Comments top
No comments for join-with. Log in to add a comment.