a2q1 - ;; The first three lines of this file were inserted...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ;; 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-intermediate-lambda-reader.ss" "lang") ((modname a2q1) (read-case-sensitive #t) (teachpacks ()) (htdp- settings #(#t constructor repeating-decimal #f #t none #f ()))) ;; ;;************************************************************** **************************************************************** ***************************** ;; ;; Hira Bakhtawar ;; CS 116, Assingment 2 Question 1 ;; Building Lists ;; ;;************************************************************** **************************************************************** ****************************** ;; (define-struct card (value suit)) ;; a card is a structure (make-card v s), where ;; v is an integer in the range 2..10 or one of ;; the symbols queen, ace ;; s is one of the four symbols: clubs, spades ;; 1a ;;build-list-odd-numbers: nat -> (listof integer)[> 0]...
View Full Document

This note was uploaded on 06/19/2011 for the course CS 116 taught by Professor T.vasiga during the Spring '09 term at Waterloo.

Page1 / 3

a2q1 - ;; The first three lines of this file were inserted...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online