Supply_intf.READERAn interface for actors that process supplies.
A value of type reader is an agent that processes a supply of elements, and may at any point decide to return an output value and shutdown.
val recv : reader -> elem -> (reader, output) Data.verdictIf e is the next element from the supply, then recv r e consumes r and returns either
Continue r' to request further elements from the supply as r',Return x to return the output value x and shutdown.