[racket] About proxys in Racket

2014-12-23 Thread Alejandro Zamora
Hi! i'm trying ,unsuccessfully, to use Racket net libraries. When I tried get "host not found" error messages... think the problem is that I connect Internet only behind a proxy? Could you give a hand with tell Racket what is my proxy? best regards, Alejandro -- Este mensaje le ha llegado m

[racket] Searching console debugger...

2014-10-04 Thread Alejandro Zamora
Hi Racketeers!! I know well the "visual" Racket debugger, it's cute and usefull but I'm wondering if you know another debugger made in Racket(and for Racket of course) more minimal, portable, not visual, and maybe with minor memory use... greetings, Alejandro -- Nunca digas nunca, di mejor: gr

Re: [racket] macro question

2014-09-25 Thread Alejandro Zamora
...)))])) > > (vars id 5 null) > > (vector id1 id2 id3 id4 id5) > > 2014-09-24 22:35 GMT-04:00 Alejandro Zamora : > > Hi Racket people: > > I have a (maybe too simple) question: > > How I create one macro like this (but using define-macro &a

[racket] macro question

2014-09-24 Thread Alejandro Zamora
Hi Racket people: I have a (maybe too simple) question: How I create one macro like this (but using define-macro & R5RS language only)?: (vars sym var-cant val-of-vars) Example: (vars id 5 null) -> (prog (define id1 null)

Re: [racket] Help with sockets.

2014-04-30 Thread Alejandro Zamora Fonseca
Well I want to write a game for programmers that listen input for programs written in any language, I'm still in the "general" modeling phase, but I think the I/O would be based in XML and/or JSON. So, thanks for the advices. Best regards Alejandro Good, glad to hear it works. If you can av

Re: [racket] Help with sockets.

2014-04-30 Thread Alejandro Zamora Fonseca
Thanks a lot! Finally it works for my purposes. greetings Alejandro > Thanks, with sendall it works nicely. > But when I try the reverse flow(that is, Racket to Python) making: > ;... > (display "Hello" s-out) > ;or with 'print > Python doesn't read with > > > > > > > > recv(500) > > it locks th

Re: [racket] Help with sockets.

2014-04-24 Thread Alejandro Zamora Fonseca
tonio Menezes Leitao escribió: Hi, On Wed, Apr 23, 2014 at 9:00 PM, Alejandro Zamora Fonseca wrote: When I do: 1)Write this code: in Dr. Racket: #lang racket (define server (tcp-listen 12345)) (define-values (s-in s-out) (tcp-accept server)) 2)Ctrl+R - DrRacket waits(lock the REPL) for connections

Re: [racket] Help with sockets.

2014-04-23 Thread Alejandro Zamora Fonseca
When I do: 1)Write this code: in Dr. Racket: #lang racket (define server (tcp-listen 12345)) (define-values (s-in s-out) (tcp-accept server)) 2)Ctrl+R - DrRacket waits(lock the REPL) for connections 3)Write this code in python: import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM

[racket] Help with sockets.

2014-04-22 Thread Alejandro Zamora Fonseca
Hi Racketeers, I have some trouble with sockets, it works for me when my apps are Racket - Racket, but when I tried to communicate e.g Racket server - Python client, don´t work well. Would you send me some snippet to achieves this? best regards Alejandro -- Este mensaje le ha llegado media

Re: [racket] About genericity...

2014-04-07 Thread Alejandro Zamora Fonseca
Yes, it's the second guess, it is my only knowlege about genericity in Lisp. I wanted to know how to do in Racket ... :) thanks for all answers, Alejandro 2014-04-06 00:21, Daniel Prager escribió: Hi Roman I think, Alejandro wanted to add clauses in different places (generic in one module, ad

[racket] About genericity...

2014-04-02 Thread Alejandro Zamora Fonseca
Hello everybody! I have a newbie question. ¿How can I create generic-functions in Racket? Something like this samples in CL: (defmethod dup ((a string)) (concatenate 'string a a)) (defmethod dup ((a integer)) (list a a)) Cheers, Alejandro -- Este mensaje le ha llegado media

[racket] Formal Presentation and initial doubts.

2014-03-21 Thread Alejandro Zamora Fonseca
Hi!! My name is Alejandro, i'm a Cuban Computer Scientist, new to Lisp(having 1 year using CL), and wishing change to Racket. I see the list and I hope make me a better Lisp programmer with your kindly help. I have Racket installed in my PC, I like the language and tools, but yet I don't unde