Blame


1 12687dd9 2023-08-04 jrmu ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 12687dd9 2023-08-04 jrmu ;; about the language level of this file in a form that our tools can easily process.
3 12687dd9 2023-08-04 jrmu #reader(lib "htdp-advanced-reader.ss" "lang")((modname |31.3|) (read-case-sensitive #t) (teachpacks ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "gui.ss" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #t #t none #f ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "gui.ss" "teachpack" "htdp")))))
4 12687dd9 2023-08-04 jrmu product : (listof numbers) -> numbers
5 12687dd9 2023-08-04 jrmu (define (product alon0)
6 12687dd9 2023-08-04 jrmu (local ((define (product-accu alon1 accumulator)
7 12687dd9 2023-08-04 jrmu (cond
8 12687dd9 2023-08-04 jrmu []
9 12687dd9 2023-08-04 jrmu [])))
10 12687dd9 2023-08-04 jrmu (product alon0 ...)))