[plt-scheme] top-level?

From: jos koot (jos.koot at tiscali.nl)
Date: Fri Aug 26 09:57:18 EDT 2005

That's exactly what I was looking for. Thanks.
((((lambda(x)((((((x x)x)x)x)x)x))
   (lambda(x)(lambda(y)(x(x y)))))
  (lambda(x)(write x)x))
 "greetings, Jos")
----- Original Message ----- 
From: "Matthew Flatt" <mflatt at cs.utah.edu>
To: "jos koot" <jos.koot at tiscali.nl>
Cc: "PLT-list" <plt-scheme at list.cs.brown.edu>
Sent: Friday, August 26, 2005 2:30 PM
Subject: Re: [plt-scheme] top-level?

> At Fri, 26 Aug 2005 14:21:45 +0200, "jos koot" wrote:
>> I look for a simple way for a syntax to see whether or not it is used at
>> top-level?
> A macro transformer can call `syntax-local-context' to detect whether
> the current expansion is for a use in the top level, in a module
> top-level, in a local-definition context, or in an expression context.
> Matthew

Posted on the users mailing list.