streams library -- an adaptation of Phil Bewig's reference implementation of srfi-41