Blame


1 12687dd9 2023-08-04 jrmu ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 12687dd9 2023-08-04 jrmu ;; about the language level of this file in a form that our tools can easily process.
3 12687dd9 2023-08-04 jrmu #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 12687dd9 2023-08-04 jrmu A cell is either
5 12687dd9 2023-08-04 jrmu 1. a number or
6 12687dd9 2023-08-04 jrmu 2. a symbol.
7 12687dd9 2023-08-04 jrmu
8 12687dd9 2023-08-04 jrmu A gui-table is a (listof (listof cell)).
9 12687dd9 2023-08-04 jrmu
10 12687dd9 2023-08-04 jrmu (define phonepad '((1 2 3)
11 12687dd9 2023-08-04 jrmu (4 5 6)
12 12687dd9 2023-08-04 jrmu (7 8 9)
13 12687dd9 2023-08-04 jrmu (\# 0 *)))
14 12687dd9 2023-08-04 jrmu (define calcpad '((1 2 3 +)
15 12687dd9 2023-08-04 jrmu (4 5 6 -)
16 12687dd9 2023-08-04 jrmu (7 8 9 *)
17 12687dd9 2023-08-04 jrmu (0 = \. /)))
18 12687dd9 2023-08-04 jrmu
19 12687dd9 2023-08-04 jrmu pad->gui