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

28.2 Preferences

Ryan Culpepper <ryanc@racket-lang.org>

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

 (require unstable/gui/prefs)

procedure

(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.