Re: [racket] using planet from embedded application

2011-03-29 Thread Imran Rafique
Gabor, Thanks for elaborating :). Bypassing planet, and using `(require (file ...)) ` works fine. One thing I've noticed is that the (file ...) form only accepts a string, and not another expr which evaluates to a string. Eg: this doesn't work: (require (file (string-append "/A/B/C/" "file.ss"))

Re: [racket] using planet from embedded application

2011-03-28 Thread gabor papp
hi Imran, Could you elaborate a little? i used the mysql package, so it might be different in your case. i suggest that you go to the planet page of the module and download the source manually: http://planet.racket-lang.org/package-source/untyped/net-repl.plt/1/0/ save the files into a folder,

Re: [racket] using planet from embedded application

2011-03-27 Thread Imran Rafique
Gabor (thanks for replying), Could you elaborate a little? I tried out net-repl in a standalone script, before trying it inside vim - so I already have all the dependencies (courtesy of Planet). Could you paste the (require ...) forms you used? -- Regards,        Imran Rafique (skype: imran_raf

Re: [racket] using planet from embedded application

2011-03-27 Thread gabor papp
Resurrecting this from a month ago, as I'm hitting the same problem. I'm using vim-7.3, with racket embedded. I'm trying to use the net-repl library, but am hitting the same error that Gabor did. i ended up downloading the planet module and required the main module file instead. i had to download

Re: [racket] using planet from embedded application

2011-03-27 Thread Imran Rafique
Gabor Papp said: > I'm trying to require jaz's mysql package like this: > (require (planet jaz/mysql:1:7)) > > It works fine if I use it from racket, but if I use it from fluxus, > which embeds racket, I got the following error: > default-module-name-resolver: the kernel's resolver works only on >

Re: [racket] using planet from embedded application

2011-02-13 Thread Gregory Woodhouse
This is a good example of why I'd like to see interfaces to SQLite, PostgreSQL and MySQL included in the main racket distribution. Not including them seems like a rather odd omission. On Feb 13, 2011, at 12:37 PM, gabor papp wrote: > 'm trying to require jaz's mysql package like this: > (requir

[racket] using planet from embedded application

2011-02-13 Thread gabor papp
I'm trying to require jaz's mysql package like this: (require (planet jaz/mysql:1:7)) It works fine if I use it from racket, but if I use it from fluxus, which embeds racket, I got the following error: default-module-name-resolver: the kernel's resolver works only on `quote' forms; given: '(lib