Re: [Patch] other mathematical operations

2002-06-12 Thread Robert Eaglestone
Jeff wrote: >How are we going to get people to write recursive subroutines if we have >a factorial operator? :) > [snip] sub offTopic { Have you seen Arc's factorial? The "short way" is really weird: (rec zero 1 * 1-) But then, the long way is still a bit odd to me, a non-LISPer

Re: [Patch] other mathematical operations

2002-06-12 Thread Josef Höök
On Tue, 11 Jun 2002, Dan Sugalski wrote: > At 1:07 PM +0200 6/11/02, =?latin1?Q?Josef_H=F6=F6k?= wrote: > > > >I've added Gcd and factorial to core.ops, as attachement. > >Dan is this something you want? > >I also have "least common multiple" and "binomial" implementation > >waiting. If you wa

Re: [Patch] other mathematical operations

2002-06-11 Thread Jeff
Josef Höök wrote: > > I've added Gcd and factorial to core.ops, see attachement. > Dan is this something you want? > I also have "least common multiple" and "binomial" implementation > waiting. If you want them i can can make a patch > > /Josef How are we going to get people to write recursive

Re: [Patch] other mathematical operations

2002-06-11 Thread Dan Sugalski
At 1:07 PM +0200 6/11/02, =?latin1?Q?Josef_H=F6=F6k?= wrote: > >I've added Gcd and factorial to core.ops, as attachement. >Dan is this something you want? >I also have "least common multiple" and "binomial" implementation >waiting. If you want them i can can make a patch I like it, but I think I

[Patch] other mathematical operations

2002-06-11 Thread Josef Höök
I've added Gcd and factorial to core.ops, as attachement. Dan is this something you want? I also have "least common multiple" and "binomial" implementation waiting. If you want them i can can make a patch /Josef --- core.ops.orig Tue Jun 11 10:03:19 2002 +++ core.opsTue Jun 11

[Patch] other mathematical operations

2002-06-11 Thread Josef Höök
I've added Gcd and factorial to core.ops, see attachement. Dan is this something you want? I also have "least common multiple" and "binomial" implementation waiting. If you want them i can can make a patch /Josef --- core.ops.orig Tue Jun 11 10:03:19 2002 +++ core.opsTue Jun 11 1