﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1061	syntax-rules should be able to automatically determine implicit exports	Moritz Heidkamp		"Given a module which exports some syntax which expands to an identifier which isn't explicitly exported and isn't itself a syntax identifier, implciit export of that identifier doesn't work:

{{{
;;; foo.scm

(module foo

(some-syntax)

(import scheme)

(define (some-implicitly-used-procedure x)
  (list x))


(define-syntax some-syntax
  (syntax-rules ()
    ((_ x)
     (some-implicitly-used-procedure 'x))))

)
}}}

To trigger the error:

{{{
$ csc -s -J foo.scm
$ csi -R foo -p '(some-syntax bar)'
  
Error: unbound variable: some-implicitly-used-procedure
}}}

As can be witnessed in #1060, it works fine for implicitly exported syntax."	enhancement	new	not urgent at all	someday	expander	4.8.x			Shawn Rutledge	hard
