|
[Date Index]
[Thread Index]
[Author Index]
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/
Prev by Date:
Re: Understanding N and Precision
Next by Date:
frustrating pattern matcher
Previous by thread:
Re: Bairstow Method
Next by thread:
frustrating pattern matcher
|