|
definition: |
(>>>=) :: Dist a -> (a -> Dist b) -> Dist b
d >>>= f = let Dist x p = d
Dist y q = f x
in Dist y (p * q)
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Combines two (dependent) distributions. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
infixl |
|
iotype: |
{(_,_) |-> {Dist}}
|
|
name: |
>>>= |
|
precedence: |
1 |
|
result-values: |
{Dist}
|
|
signature: |
Dist a -> (a -> Dist b) -> Dist b |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |