This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: guile-pgsql and postgres 7.0


   From: David Pirotte <david@altosw.be>
   Date: Tue, 23 May 2000 02:29:56 +0200

   utils.scm refers to the function 'iota', such as in (iota nfields)
   where is it defined?

`iota' is defined in ice-9/boot-9.scm.  if that's not the case for you:

(define (iota n)
  (let loop ((count (1- n)) (result '()))
    (if (< count 0) result
        (loop (1- count) (cons count result)))))

thi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]