#lang racket (require htdp/testing) ;; this file: unicalc.rkt ;; name: ;; time spent: ;; other comments? ;; this next module provides the symbols unicalc-db and UDB ;; both refer to the same association list of units... (require "unicalc-db.rkt") ;; ;; The unit-calculator application - in Racket ;; ;; Provided functions - for comparing and sorting symbols ;; ;; comparing symbols alphabetically requires conv. to strings (define (symstring sym1) (symbol->string sym2))) ;; a function for sorting lists of symbols: sortsym (define (sortsym L) (sort L sym