[racket] Macro Problem

2010-07-08 Thread Manu
Hello I am having a problem with the following macro: (define-syntax lambda-r (syntax-rules () ((_ args exp ...) (lambda args (call-with-current-continuation (lambda (return) exp ... )) it's meant to define a lambda-r form, which wraps a lambda in call/

Re: [racket] RacketCon: Web app tutorial

2011-06-28 Thread manu d
Admittedly, this would be more appropriate for a Racket tutorial than a Racket/Web tutorial but I'd like to see something like this too :) Manu On Mon, Jun 27, 2011 at 11:26 PM, Jay McCarthy wrote: > I'll be giving a 15 minute presentation at RacketCon about Web apps. I > was t

[racket] Persistence for Datalog

2011-07-03 Thread manu d
Hi, What is the easiest way to write Datalog 'theories' to disk ? They are implemented as hashes, so what's the easiest way to serialize/deserialize these ? Thanks T. _ For list-related administrative tasks: http://lists.racket-lang.org/listinf

[racket] Evaluating pict to string

2013-04-21 Thread manu d
ject Is there a way to parameterize how picts are rendered so I can end up with a PNG bytestring ? Thank you Manu Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Evaluating pict to string

2013-04-21 Thread manu d
ng from the browser, I do the following (define exp (parameterize ([current-input-port (open-input-string str)]) `(let ([e ,(read)]) (if (convertible? e) (base64-encode (convert e 'png-bytes) #"") e Would this work ? Thank yo

[racket] Try Racket

2013-04-24 Thread manu d
lternative content for this section. Help, suggestions and bug reports, welcome ! Thanks Manu Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Try Racket

2013-04-24 Thread manu d
Hi Stephen, Not as far as I can tell, I think this is due to how jquery-console operates (https://github.com/chrisdone/jquery-console). This bothers me too and I think it would be a welcome enhancement. Manu On Thu, Apr 25, 2013 at 8:42 AM, Stephen Chang wrote: > This is really gr