What would be the idiomatic way to unit test for equality?
For Cells I assume:
function cEq(a:Cell, b:Cell):boolean {
return a.sample() === b.sample();
}
But for Stream I'm not sure - should it be defined in terms of Cell? e.g.
function sEq(a:Stream, b:Stream):boolean {
return cEq(a.hold(undefined), b.hold(undefined));
}