[plt-scheme] What causes error: compile: bad syntax; function application is not allowed, because no #%appsyntax transformer is bound in: (#%top-interaction . list-of-email)

From: Jos Koot (jos.koot at telefonica.net)
Date: Tue Jul 1 12:27:38 EDT 2008

Probably your program did not compile and hence did not even start running 
and hence nothing was bound in the interaction environment.
Use check-syntax to see whether or not your program even compiles.
Jos

----- Original Message ----- 
From: "Stephen De Gabrielle" <spdegabrielle at gmail.com>
To: "PLT Scheme List" <plt-scheme at list.cs.brown.edu>
Sent: Tuesday, July 01, 2008 2:36 PM
Subject: [plt-scheme] What causes error: compile: bad syntax;function 
application is not allowed, because no #%appsyntax transformer is bound in: 
(#%top-interaction . list-of-email)


> Hi,
>
> I'm getting an error;
>
> . compile: bad syntax; function application is not allowed, because no
> #%app syntax transformer is bound in: (#%top-interaction .
> list-of-email)
>
> What happens is;
> 1.  I run my (module language) program in drscheme,
> 2. It fails with an error (no sense pretending this doesn't happen a lot)
> 3. I type in the name of a variable I want to inspect
> 4. above error occurs.
>
> I didn't get this error in 3xx, and I don't get it all the time, and
> I'm having trouble working out what is causing it?
> --
> Welcome to DrScheme, version 4.0.1 [3m].
> Language: Module custom.
> . . car: expects argument of type <pair>; given false
>> list-of-email
> . compile: bad syntax; function application is not allowed, because no
> #%app syntax transformer is bound in: (#%top-interaction .
> list-of-email)
>>
> --
>
> Cheers,
>
> Stephen
>
> --
> Stephen De Gabrielle
> s.degabrielle at cs.ucl.ac.uk
> Telephone +44 (0)20 7679 0693 (x30693)
> Mobile                  079 851 890 45
> Project: Making Sense of Information (MaSI)
> Work:http://www.uclic.ucl.ac.uk/annb/MaSI.html
> Home:http://www.degabrielle.name/stephen
>
>
> UCL Interaction Centre
> MPEB 8th floor
> University College London
> Gower Street
> London WC1E 6BT
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme 



Posted on the users mailing list.