chickadee » lookup-table » dict-indempotent-ref!

dict-indempotent-ref! DICT KEY FUNC #!optional DEFprocedure

Should a value for KEY exist in DICT it is returned. Otherwise FUNC is invoked on DEF. Any result other than DEF is the value for the KEY and that value is returned. Otherwise returns DEF.

DEF
* ; #f