DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) SRFI-1 Constructors

Info Catalog (guile.info.gz) SRFI-1 (guile.info.gz) SRFI-1 Predicates
 
 39.3.1 Constructors
 -------------------
 
 New lists can be constructed by calling one of the following procedures.
 
  -- Scheme Procedure: xcons d a
      Like `cons', but with interchanged arguments.  Useful mostly when
      passed to higher-order procedures.
 
  -- Scheme Procedure: list-tabulate n init-proc
      Return an N-element list, where each list element is produced by
      applying the procedure INIT-PROC to the corresponding list index.
      The order in which INIT-PROC is applied to the indices is not
      specified.
 
  -- Scheme Procedure: circular-list elt1 elt2 ...
      Return a circular list containing the given arguments ELT1 ELT2
      ....
 
  -- Scheme Procedure: iota count [start step]
      Return a list containing COUNT elements, where each element is
      calculated as follows:
 
      START + (COUNT - 1) * STEP
 
      START defaults to 0 and STEP defaults to 1.
 
Info Catalog (guile.info.gz) SRFI-1 (guile.info.gz) SRFI-1 Predicates
automatically generated byinfo2html