Subversion Repositories programming

Rev

Rev 100 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 100 Rev 108
Line 1... Line 1...
1
;Written By: Ira Snyder
1
;Written By: Ira Snyder
2
;Due Date:   02-28-2005
2
;Due Date:   02-28-2005
3
;Homework #: HW12
3
;Homework #: HW12
-
 
4
;License: Public Domain
4
 
5
 
5
;;; This is the generic implementation of the recursive schema OP-SOME.
6
;;; This is the generic implementation of the recursive schema OP-SOME.
6
;;; It takes 3 parameters:
7
;;; It takes 3 parameters:
7
;;;   CONDITION: when this is true, the operation happens on that element
8
;;;   CONDITION: when this is true, the operation happens on that element
8
;;;   OP: the operation to happen on the values that satisfy CONDITION
9
;;;   OP: the operation to happen on the values that satisfy CONDITION