1 2 3 4 5 6 7 8 9 10
datatype Direction = req | ackValue = {0..3}channel wrt : Direction.Valuechannel rd : Direction.ValueCell = let CellState(val) = rd.req?dumb -> rd.ack!val -> CellState(val) [] wrt.req?x -> wrt.ack.x -> CellState(x) within CellState(0)