stream-head
(stream-head stream k)
Returns the first k elements of stream as a list. A stream shorter than k answers all of its elements rather than an error. A Structure and Interpretation of Computer Programs (SICP)/MIT name, not R7RS: no library exports it, so it is visible only to a file with no import and at the REPL.