|
Comp210: Principles of Computing and Programming
|
The template development steps are
For example, the template for a function on list-of-symbols is
; los-fun: List-of-Symbol --> ?? ; A fun(ction) template. (define (los-fun a-los) (cond [(empty? a-los) ...] [(cons? a-los) ...(first a-los)...(los-fun (rest a-los))...]))
Last Revised Tuesday, 24-Aug-2004 13:49:02 CDT
©2004 Stephen Wong and Dung Nguyen