;; The first three lines of this file were inserted by DrRacket. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-beginner-reader.ss" "lang")((modname lect21-natnum-image-example) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ()))) (require 2htdp/image) ; col : natnum, image -> image ; Return `n` copies of `img` in a column. ; (define (col n img) img) (check-expect (col 0 (circle 10 'solid 'blue)) "replace this w/ the expected result, eh?") (check-expect (col 1 (circle 10 'solid 'blue)) "replace this w/ the expected result, eh?") (check-expect (col 3 (circle 10 'solid 'red)) "replace this w/ the expected result, eh?")