#lang racket (require htdp/testing) ;; this file: unicalc.rkt ;; name: ;; approximate time spent: ;; other comments? ;; this next module provides the list unicalc-db and UDB ;; these are two names for 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