[racket] Racket user community in India

2012-01-12 Thread ashok bakthavathsalam
Hello! How big is the Racket user community in India, and specifically in Coimbatore? My intention is to join or form a Racket User Meetup Group for networking or information sharing. Thanks for pointing me in the right direction. Thanks, % ashok Racket Users list: htt

[racket] Changing the font style to "fixed" for WeScheme's display function

2012-02-25 Thread Ashok Bakthavathsalam
Is there a way to set the font style used by the "display" function to be a "fixed" type? % ashok Racket Users list: http://lists.racket-lang.org/users

[racket] What is the equivalent of ToExpression in Mathematica?

2012-02-29 Thread ashok bakthavathsalam
I am looking for something similar to ToExpression that is available in Mathematica. I just want to convert a string to an expression, and evaluate the expression. As a first pass, my strings will include only numbers and arithmetic op

Re: [racket] What is the equivalent of ToExpression in Mathematica?

2012-02-29 Thread Ashok Bakthavathsalam
Will eval-string work even if the string is the normal mathematical notation? For example, "1+1" or "8*74-2" ? On Thu, Mar 1, 2012 at 2:54 AM, David Van Horn wrote: > On 2/29/12 4:18 PM, ashok bakthavathsalam wrote: > >> I am looking for something

Re: [racket] Looping with look-behind and look-forward

2012-05-26 Thread Ashok Bakthavathsalam
The line (displayln (/ (+ prior current next))) needs to be changed to (displayln (/ (+ prior current next) 3)) Thanks, On Sat, May 26, 2012 at 9:20 PM, Matthias Felleisen wrote: > > Do you mean that if you operated on a list it would look like this: > > #lang racket > > (define (running-averag

[racket] Replacing lambdas with defines

2012-06-08 Thread Ashok Bakthavathsalam
Below, I have enclosed the code from Rosetta for generating Permutations. Can someone show me how to replace nested lambdas with defines? Thanks, (define (insert l n e) (if (= 0 n) (cons e l) (cons (car l) (insert (cdr l) (- n 1) e (define (seq start end) (if

[racket] WeScheme cond branch error

2012-06-10 Thread Ashok Bakthavathsalam
Although the following code works perfectly well in DrRacket environment, it generates the following error in WeScheme: Inside a cond branch, I expect to see a question and an answer, but I see more than two things here. at: line 15, column 4, in How

Re: [racket] WeScheme cond branch error

2012-06-10 Thread Ashok bakthavathsalam
gt; > http://docs.racket-lang.org/htdp-langs/advanced.html?q=local#(form._((lib._lang/htdp-advanced..rkt)._local)) > > /Jens Axel > > > > 2012/6/10 Ashok Bakthavathsalam : >> Although the following code works perfectly well in DrRacket environment, it >> generates the fol