how to handle debug code?

2013-12-16 Thread Richard Hainsworth
What should be the perl6 idiom for handling debug code? I am writing a program that will be run with large values and take some time when it is clear that it is running correctly. In order to ensure that the program is correct, I have added code to generate and output intermediate results. I

Re: how to handle debug code?

2013-12-16 Thread Will Coleda
I would start with http://strangelyconsistent.org/blog/macros-what-are-they-really for a way to parse but not execute potentially expensive debug code. On Sun, Dec 15, 2013 at 10:49 PM, Richard Hainsworth wrote: > What should be the perl6 idiom for handling debug code? > > I am writing a prog