On Wed, Jul 20, 2011 at 4:10 PM, Greg Hendershott
<[email protected]> wrote:
>> define factorial(n)
>> if {n <= 1}
>> 1
>> {n * factorial{n - 1}}
>
> Wouldn't it need to be something like:
>
> define( factorial(n)
> if {n <= 1}
> 1
> {n * factorial{n - 1}} )
>
> ?
>
> That is, `define' itself needs some sort of handling, whether sweet or sour?
I tried from the docs:
#lang planet asumu/sweet racket
printf("Hello")
and got the error:
application: bad syntax (illegal use of `.') in: (#<eof> . #<eof>)
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users