SRFI-1:
(unfold p f g seed) = (if (p seed) (tail-gen seed) (cons (f seed) (unfold p f g (g seed))))
See also fold, unfold-right.
Home WhatIsSchemeCrossReference EditGuideline Discussion RSS
a b c d e f g h i j k l m n o p q r s t u v w x y z other
Concept:CaseSensitivity Concept:DocumentationFormat Concept:ExtendedLambdaList Concept:FileSystem Concept:FindAndAnyInCollection Concept:ForeignInterface Concept:HashTable Concept:Module Concept:Networking Concept:ObjectSystem Concept:Process Concept:RegularExpression Concept:UserGroup
Scheme Now!
ERR5RS
Schemers.org
Community-Scheme-Wiki
CSAN
Scheme Cookbook