Lesson Notes > lec02 solutions University of British Columbia CPSC 110


University of British Columbia CPSC 110 (require 2htdp/image) (require spd/tags) (@problem 1) ;; ;; Design a function, called topple, that takes an image and rotates it ;; by 90 degrees. ;; (@htdf topple) (@signature Image -> Image) ;; produce image rotated by 90 degrees (check-expect (topple (rectangle 10 20 "solid" "red")) (rectangle 20 10 "solid" "red")) (check-expect (topple ( ...[Show More]

Preview 1 out of 3 pages
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )