; The existing table implementation in table.txt can accomidate arbitrary ; numbers of keys and different values stored under different number of keys ; if you use a list of the keys as a single key. ; ; For example: ; 1 ]=> (define dns (make-table)) ; ; ;Value: dns ; ; 1 ]=> (insert! '(adrianstoll com) '159.89.50.144 dns) ; ; ;Value: ok ; ; 1 ]=> (insert! '(music youtube com) '172.217.4.4 dns) ; ; ;Value: ok ; ; 1 ]=> (insert! '(www eecs umich edu) '141.212.113.199 dns) ; ; ;Value: ok ; ; 1 ]=> (lookup '(music youtube com) dns) ; ; ;Value: |172.217.4.4| ; ; 1 ]=> (lookup '(youtube com) dns) ; ; ;Value: #f ; ; 1 ]=> (insert! '(localhost) '127.0.0.1 dns) ; ; ;Value: ok ; ; 1 ]=> (lookup '(localhost) dns) ; ; ;Value: |127.0.0.1|