Optimize (SYMBOL-[GLOBAL-]VALUE X) for constant X