A simple implementation of suspension and streams in javascript and SML.