Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions types/srfi.158.scm
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ The signature of the unfold procedure is (unfold stop? mapper successor seed arg
(return (lambda (el) (or undefined integer?))))
(desc . "Returns an accumulator that, when invoked on an object, adds 1 to a count inside the accumulator and returns an unspecified value. However, if an end-of-file object is passed, the accumulator returns the count. "))
((name . "list-accumulator")
(signature lambda () procedure?)
(subsigs
(return (lambda (el) (or undefined list?))))
(desc . "Returns an accumulator that, when invoked on an object, adds that object to a list inside the accumulator in order of accumulation and returns an unspecified value. However, if an end-of-file object is passed, the accumulator returns the list."))
((name . "reverse-list-accumulator")
(signature lambda () procedure?)
(subsigs
(return (lambda (el) (or undefined list?))))
Expand Down