in reply to Re: Euclidean algorithm Golf in Perl 6
in thread Euclidean algorithm Golf in Perl 6
Your last one vividly illustrates how the algorithm generates successive refinements.
I also suppose that the "Golf" module, which would create 1-char Unicode aliases for a bunch of things, should include a symbol to mean "recursive call". Besides being shorter than naming the function again, you may want to do it with unnamed blocks, and &?ROUTINE is also rather verbose. ↺ perhaps?
|
|---|