Measuring the Privacy of Computations
galois.com3 pointsby jmct0 comments
func y = let z = y + y
in (add 1 z) * (add 1 z)
in `func` the result of computing `y + y` is shared because it has been given a name: `z`. However, the result of `add 1 z` is _not_ given a name and therefore has to be computed twice. Because Haskell is pure, they will result return the same result, however the result is not saved.
They weren't made with the thought of being generally consumed, but I do plan on making videos for the wider CS/programming community in the future.