Re: [Chicken-users] Auto-formatter for scheme?

2011-06-03 Thread Mario Domenech Goulart
Hi John, On Thu, 2 Jun 2011 23:40:48 -0700 John Magolske wrote: > I'm looking for an auto-formatter, something like INDENT [1] or > Artistic Style [2] that can handle scheme code. Does anyone know > of such a tool? Maybe beautifier [3] ? > > [1] http://linux.die.net/man/1/indent > [2] http://ast

[Chicken-users] Different factorial results

2011-06-03 Thread Steve Graham
In running (factorial 50) (define (factorial n) (if (< n 2) 1 (* n (factorial (- n 1) I found that Chicken Scheme's result differed from Petite Chez, Kawa and Gambit. The former gave 3.04140932017134e+064 and the latter 3 gave 30414093201713378043612608166064768844377641568960512

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Mario Domenech Goulart
Hi Steve, On Fri, 3 Jun 2011 07:26:58 -0700 (PDT) Steve Graham wrote: > In running (factorial 50) > > (define (factorial n) (if (< n 2) 1 (* n (factorial (- n 1) > > I found that Chicken Scheme's result differed from Petite Chez, Kawa and > Gambit. The former gave > > 3.04140932017134e+06

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Steve Graham
Thanks, Mario. Worked like a charm. Why is that not part of the base package? Eu morava nos estados de Sao Paolo e Parana desde 1971 a 1973. Eu me gostei muito desse tempo. Pardon my portuguese - it's been decades. Steve --- --- On Fri, 6/3/11, Mario Domenech Goulart wrote: > From: Mari

Re: [Chicken-users] Different factorial results

2011-06-03 Thread John Cowan
Steve Graham scripsit: > Thanks, Mario. Worked like a charm. Why is that not part of the base > package? Licensing. The numbers egg has to be GPL, because it depends on the GMP (GNU Multi-precision Library) which is GPL. The overall license for Chicken, however, is BSD. There are alternative

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Kon Lovett
On Jun 3, 2011, at 9:49 AM, John Cowan wrote: Steve Graham scripsit: Thanks, Mario. Worked like a charm. Why is that not part of the base package? Licensing. The numbers egg has to be GPL, because it depends on the GMP (GNU Multi-precision Library) which is GPL. The overall license

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Jim Ursetto
On Jun 3, 2011, at 11:49 AM, John Cowan wrote: > Steve Graham scripsit: > >> Thanks, Mario. Worked like a charm. Why is that not part of the base >> package? > > Licensing. The numbers egg has to be GPL, because it depends on the GMP > (GNU Multi-precision Library) which is GPL. numbers is

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Mario Domenech Goulart
Hi John, On Fri, 3 Jun 2011 12:49:26 -0400 John Cowan wrote: > Steve Graham scripsit: > >> Thanks, Mario. Worked like a charm. Why is that not part of the base >> package? > > Licensing. The numbers egg has to be GPL, because it depends on the GMP > (GNU Multi-precision Library) which is GPL.

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Peter Bex
On Fri, Jun 03, 2011 at 12:49:26PM -0400, John Cowan wrote: > Steve Graham scripsit: > > > Thanks, Mario. Worked like a charm. Why is that not part of the base > > package? > > Licensing. The numbers egg has to be GPL, because it depends on the GMP > (GNU Multi-precision Library) which is GPL.

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Alex Queiroz
Hallo, On Fri, Jun 3, 2011 at 7:06 PM, Peter Bex wrote: > > It's not in core mostly because it would make things slower (though I'm > not 100% convinced of that; there's type dispatching for fixnums/flonums > already anyway) and because it is an extra-large additional pile of code. > Indeed

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Steve Graham
Thanks, John. --- On Fri, 6/3/11, Peter Bex wrote: > From: Peter Bex > Subject: Re: [Chicken-users] Different factorial results > To: "John Cowan" > Cc: "Steve Graham" , "Chicken-users" > > Date: Friday, June 3, 2011, 1:06 PM > On Fri, Jun 03, 2011 at 12:49:26PM > -0400, John Cowan wrote: >