condition placement
- To: mathgroup at smc.vnet.net
- Subject: [mg71242] condition placement
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Sat, 11 Nov 2006 03:39:03 -0500 (EST)
there seem to be a lot of subtleties about the placement of condition for instance, the following will not substitute the matched value of boxes into stringFormattableQ toString[expr_,boxes_,opts:optionsOrNullPseudoPatternObject/;stringFormattableQ[boxes]]:= toStringKernel[expr,boxes,opts]; this will toString[expr_,boxes_/;stringFormattableQ[boxes],opts:optionsOrNullPseudoPatternObject]:= toStringKernel[expr,boxes,opts]; hmm -- http://chris.chiasson.name/