chickadee » treaps » treap-get

treap-get trp key #!optional defaultprocedure

returns the key-value pair matching the key argument, if there is any. If not evaluates default, if provided, else signals an error.