CS116 Tutorial 1. Review of CS115. Reminders. All assignment submissions will be ignored until Assignment 0 has been completed. Assignment 1 is due Tuesday, Jan 21 st at 11:00 am. Review of CS115 . Abstract List Functions map f ilter foldr Local Structures F oodcan.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Review of CS115
;; a foodcan is a structure (make-food-can h r w l)
;; where, h, r, and w are positive numbers (the
;; height in cm, radius in cm, and weight in grams,
;; respectively) and l is a symbol (the label which
;; goes on the can).
(define tomatocan (make-foodcan 10 4 400 ‘tomatoes))
(define beancan (make-foodcan 9 3 200 ‘beans))