Group: mailing.freebsd.portsbugs · Group Profile · Search for Optf in mailing.freebsd.portsbugs
Author: Dmitry Klimov
Date: Jan 28, 2008 04:21
On Oct 16, 2007, at 3:16 AM, Art wrote: Let functions f and g be defined as follows: f[ OptionsPattern[{}] ] := OptionValue[optf]; Options[g] = {optg -> True}; g[opts : OptionsPattern[]] := OptionValue[optg] && f[opts] The following gives a warning that optf is not an option value for function g. g[optg -> False, optf -> False] Is there a good way
|