Derived Procedures in ISO 10179

Subject: Derived Procedures in ISO 10179
From: Andreas.Saremba@xxxxxxxxxxx (Andreas Saremba)
Date: Wed, 15 Jul 1998 22:39:50 +0200
Has anybody undertaken to check the correctness of the definitions 
for the derived procedures given in the DSSSL standard? I needed one 
of them today, copied the definition - and found it didn't work. Here 
it is (from 10.2.2, pages 135 f.)

(define (node-list-head nl i)
  (if (zero? i)
      (empty-node-list)
      (node-list (node-list-first nl)
                 (node-list-head nl (- i 1)))))

This is an obvious error - the "nl" in the last line has to be 
replaced by "(node-list-rest nl)". (Ok - they couldn't test it in 
1996.)

I understand the DSSSL Documentation project is working on 
documenting these things, but I havent't found this one in their 
material. It would be very helpful to have all these procedures 
collected for reuse in one's own scripts, and I would be willing to 
help in this effort, but certainly not until I'm confident that I'm 
not re-enventing the wheel.

Regards,
Andreas
Andreas Saremba
Amselweg 19, 14656 Brieselang
Tel. 033232/38264
Email: andreas.saremba@xxxxxxxxxxx


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Derived Procedures in ISO 10179
    • Andreas Saremba - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA23207Wed, 15 Jul 1998 17:44:02 -0400 (EDT) <=
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id TAA06922Wed, 15 Jul 1998 19:01:09 -0400 (EDT)