MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

hunting down problems with my code


came down to this today:

#_?NumberQ//FullForm

Times[PatternTest[Blank[],NumberQ],Slot[1]]

f_?NumberQ//FullForm

PatternTest[Pattern[f,Blank[]],NumberQ]

It's only amusing after the fact.
-- 
Chris Chiasson
Kettering University
Mechanical Engineering
Graduate Student
1 810 265 3161


  • Prev by Date: Re: Automating the generation of .m files.
  • Next by Date: repeating elements in a list
  • Previous by thread: Re: How to match/balance parenthesis?
  • Next by thread: Re: hunting down problems with my code