UNB/ CS/ David Bremner/ teaching/ cs3613/ tutorials/ CS3613 Tutorial 3

Do the following, in order.

Optionally, do the following:

#lang plait
(define ht (hash (list (pair "apple"  'red) (pair "banana"  'yellow))))

(module+ test
  (test (hash-ref ht "apple") (some 'red)))

Convert the second example ("coconut"), including the tests. Note that this involves Optional values