On this page:
pref: get/ set
Version: 5.2

34.3 Preferences

Ryan Culpepper <ryanc@racket-lang.org>

 (require unstable/gui/prefs)

This library is unstable; compatibility will not be maintained. See Unstable: May Change Without Warning for more information.

(pref:get/set pref)  (case-> (-> any/c) (-> any/c void?))
  pref : symbol?
Returns a procedure that when applied to zero arguments retrieves the current value of the preference (framework/preferences) named pref and when applied to one argument updates the preference named pref.