![]() Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff Submissions Subscriptions Advertising Back Issues Contact Information |
In and Out
Pure Recursive Functions Q: Normally, when creating a recursive function, I use the name of the function to perform the recursive call.
However, this has the disadvantage that the symbol fact is now global. Is it possible to create a pure recursive function? A: Andrzej Kozlowski (akoz@mimuw.edu.pl) writes: #0 is a rarely used “parameter,” which refers to the pure function itself and thus makes it possible to create pure recursive functions.
|
||||||
About Mathematica Download Mathematica Player Copyright © 2003 Wolfram Media, Inc. All rights reserved. |