scalaz stream helpers