Re: [racket] jQuery.console or Racket code?

2014-11-26 Thread J Arcane
Hello, I'm the webmaster/maintainer for try-racket at the moment. The JQuery console is used to provide the console interface, but this is indeed only an interface. I/O is passed via JSON to a running Racket sandbox provided by the server application (itself also written in Racket). Racket does al

Re: [racket] SICP (again)

2014-11-26 Thread Alexander McLin
There is some differences between Racket and MIT-Scheme though I don't think it's such a major difference to be a problem. There is also a Racket SICP compatibility package that makes it more conforming to the book. It's available in the package catalog. I haven't used it so I don't know whethe

Re: [racket] SICP (again)

2014-11-26 Thread Catonano
2014-11-26 13:17 GMT+01:00 Alexander McLin : > The square function is also defined in earlier SICP sections so I would > recommend you maintain a running file of all functions SICP defines so you > can refer back to them easily. > Ok, this seems a reasonable approach. Note taken, thanks Are ther

Re: [racket] SICP (again)

2014-11-26 Thread Catonano
2014-11-26 12:56 GMT+01:00 Joshua TAYLOR : > Why not just do: > > (define (square x) > (* x x)) > > ? > > I did, and it works. But my concern is about the incompatibility level between the two platforms. Going forward in the course, it could get worse, we are somewhat all beginners, the concep

Re: [racket] SICP (again)

2014-11-26 Thread Alexander McLin
The square function is also defined in earlier SICP sections so I would recommend you maintain a running file of all functions SICP defines so you can refer back to them easily. > On Nov 26, 2014, at 5:37 AM, Catonano wrote: > > Hello > > I understand that this is not the first time someon

Re: [racket] SICP (again)

2014-11-26 Thread Joshua TAYLOR
Why not just do: (define (square x) (* x x)) ? On Wed, Nov 26, 2014 at 5:37 AM, Catonano wrote: > Hello > > I understand that this is not the first time someone asks about using Racket > for a SICP study group. > > I used the not so mantained mit-scheme compatibility package and I tried to >

Re: [racket] SICP (again)

2014-11-26 Thread Daniel Prager
Hint: You can define your own square function. Dan Racket Users list: http://lists.racket-lang.org/users

[racket] SICP (again)

2014-11-26 Thread Catonano
Hello I understand that this is not the first time someone asks about using Racket for a SICP study group. I used the not so mantained mit-scheme compatibility package and I tried to paste this piece of code (define (average x y) (/ (+ x y) 2)) (define (sqrt x) (define (improve guess)