diff options
Diffstat (limited to '')
-rw-r--r-- | module/srfi/srfi-41/util.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/srfi/srfi-41/util.scm b/module/srfi/srfi-41/util.scm index dcd31973..0aa4ae9a 100644 --- a/module/srfi/srfi-41/util.scm +++ b/module/srfi/srfi-41/util.scm @@ -72,6 +72,9 @@ (define-public (stream-remove pred stream) (stream-filter (negate pred) stream)) +(define-public (stream->values stream) + (apply values (stream->list stream))) + ;; Evaluates @var{body} in a context where most list fundamentals are ;; replaced by stream alternatives. ;; commented defifinitions are items which could be included, but for |