Experimental stream calculus code.