Blob


1 ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 ;; about the language level of this file in a form that our tools can easily process.
3 #reader(lib "htdp-intermediate-reader.ss" "lang")((modname |22.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 #f #t none #f ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "gui.ss" "teachpack" "htdp")))))
4 A cell is either
5 1. a number or
6 2. a symbol.
8 A gui-table is a (listof (listof cell)).
10 (define phonepad '((1 2 3)
11 (4 5 6)
12 (7 8 9)
13 (\# 0 *)))
14 (define calcpad '((1 2 3 +)
15 (4 5 6 -)
16 (7 8 9 *)
17 (0 = \. /)))
19 pad->gui