Fails mysteriously at the REPL #2

Closed
samth opened this Issue Oct 17, 2012 · 2 comments

Projects

None yet

2 participants

samth commented Oct 17, 2012

The quick start example works fine in a module (modulo bug #1), but fails at the REPL, as follows:

-> (require gapi/macro)
-> (require-gapi-doc "urlshortener.v1.js")
-> (define js (urlshortener-url-insert #:longUrl "http://www.racket-lang.org/"))
; alist->form-urlencoded.68: undefined;
;  cannot reference undefined identifier
; [,bt for context]
Owner

+1 for "mysteriously". This one has me stumped, for now.

Do you have any suggestions from what angle to tackle this? I imagine I should focus on what's different about modules vs. REPL?

samth commented Oct 18, 2012

I'm not sure. Does it happen with other identifiers?

On Wed, Oct 17, 2012 at 5:56 PM, Greg Hendershott
notifications@github.comwrote:

+1 for "mysteriously". This one has me stumped, for now.

Do you have any suggestions from what angle to tackle this? I imagine I
should focus on what's different about modules vs. REPL?


Reply to this email directly or view it on GitHubhttps://github.com/greghendershott/gapi/issues/2#issuecomment-9545677.

sam th
samth@ccs.neu.edu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment