racket/s
Matthew Flatt 3a2659968a prefer closest binding name for procedures
In some cases, such as

 (define g (let ([f (lambda (x) x)]) f))

the inner name `f` could get replaced by the outer name `g`.
Prefer the inner name so that macros can use a `let` wrapper
to reliably name a procedure.

cherry-picked from mflatt/ChezScheme#letname

original commit: fb75f08cfa9690f94ae2abaa237278b287367d68
2018-06-22 09:33:12 -06:00
..
4.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
5_1.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
5_2.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
5_3.ss even? and odd?: reject exceptional flonums, since they're not integers 2017-12-28 17:00:04 -06:00
5_4.ss Fixing output of substring-fill! and vector-fill! 2017-12-12 08:43:01 -05:00
5_6.ss Fixing output of substring-fill! and vector-fill! 2017-12-12 08:43:01 -05:00
5_7.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
6.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
7.ss Merge branch 'rendezvous' of github.com:mflatt/ChezScheme 2018-01-22 17:08:49 -07:00
a6fb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
a6le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
a6nb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
a6nt.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
a6ob.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
a6osx.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
a6s2.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
arm32.ss Merge branch 'livefix' of github.com:mflatt/ChezScheme 2017-12-21 05:35:55 -07:00
arm32le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
back.ss first cut at backreference support from GC 2017-12-09 06:44:28 -07:00
base-lang.ss Add __thread foreign-call convention 2018-01-22 17:06:19 -07:00
bytevector.ss attempt to stabilize timing tests let-values source-caching 2017-10-29 17:48:43 -04:00
cafe.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
cback.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
cmacros.ss Merge branch 'pthread' of github.com:mflatt/ChezScheme 2018-01-22 17:09:55 -07:00
compile.ss add generate-procedure-source-information 2017-12-05 20:40:22 -07:00
costctr.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
cp0.ss prefer closest binding name for procedures 2018-06-22 09:33:12 -06:00
cpcheck.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
cpletrec.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
cpnanopass.ss Merge branch 'bounds' of github.com:mflatt/ChezScheme 2018-01-07 09:18:24 -07:00
cprep.ss Add __thread foreign-call convention 2018-01-22 17:06:19 -07:00
cpvalid.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
date.ss attempt to stabilize timing tests let-values source-caching 2017-10-29 17:48:43 -04:00
debug.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
engine.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
enum.ss enum-set-indexer procedure now checks for a symbol, changed "isn't" to "is not" for consistency 2017-05-05 15:22:46 -04:00
env.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
event.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
exceptions.ss add locate-source cache and line+column components to source objects 2017-08-01 05:23:56 -06:00
expand-lang.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
expeditor.ss - add unicode support to the expression editor. entry and display now work 2016-07-20 21:54:50 -04:00
fasl-helpers.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
fasl.ss add make-ephemeron-eq-hashtable, etc. 2017-07-06 16:27:23 -06:00
foreign.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
format.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
front.ss unbreak threads build 2018-01-07 09:16:58 -07:00
ftype.ss Add __thread foreign-call convention 2018-01-22 17:06:19 -07:00
hashtable-types.ss add make-ephemeron-eq-hashtable, etc. 2017-07-06 16:27:23 -06:00
i3fb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3nb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3nt.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3ob.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3osx.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3qnx.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
i3s2.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
inspect.ss Merge branch 'livefix' of github.com:mflatt/ChezScheme 2017-12-21 05:35:55 -07:00
interpret.ss add make-arity-wrapper-procedure 2017-12-02 08:24:42 -07:00
io-types.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
io.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
layout.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
library.ss Merge branch 'arity-wrapper' of github.com:mflatt/ChezScheme 2017-12-02 08:27:01 -07:00
mathprims.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6fb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6nb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6nt changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6ob changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6osx changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-a6s2 changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-arm32le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-base avoid quadratics in call-live information 2017-12-21 05:34:11 -07:00
Mf-cross changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3fb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3nb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3nt changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3ob changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3osx changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3qnx changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-i3s2 changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ppc32le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6fb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6nb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6nt changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6ob changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6osx changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ta6s2 changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3fb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3nb changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3nt changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3ob changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3osx changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-ti3s2 changed copyright year to 2017 2017-04-06 11:41:33 -04:00
Mf-tppc32le changed copyright year to 2017 2017-04-06 11:41:33 -04:00
mkheader.ss Merge branch 'fdstart' of github.com:mflatt/ChezScheme 2018-01-15 19:40:49 -07:00
newhash.ss add make-ephemeron-eq-hashtable, etc. 2017-07-06 16:27:23 -06:00
np-languages.ss Merge branch 'pthread' of github.com:mflatt/ChezScheme 2018-01-22 17:09:55 -07:00
patch.ss Merge branch 'procloc' of github.com:mflatt/ChezScheme 2017-12-06 08:37:50 -07:00
pdhtml.ss fixed gather-filedata's sort of profile entries. for any two 2017-10-30 21:01:43 -04:00
ppc32.ss Merge branch 'pthread' of github.com:mflatt/ChezScheme 2018-01-22 17:09:55 -07:00
ppc32le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
pretty.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
primdata.ss Merge branch 'rendezvous' of github.com:mflatt/ChezScheme 2018-01-22 17:08:49 -07:00
priminfo.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
primref.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
prims.ss Merge branch 'procloc' of github.com:mflatt/ChezScheme 2017-12-06 08:37:50 -07:00
primvars.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
print.ss add locate-source cache and line+column components to source objects 2017-08-01 05:23:56 -06:00
read.ss add locate-source cache and line+column components to source objects 2017-08-01 05:23:56 -06:00
record.ss unbreak threads build 2018-01-07 09:16:58 -07:00
reloc.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
setup.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
strip.ss update test patch files 2017-07-06 20:45:18 -06:00
strnum.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
syntax.ss Merge branch 'pthread' of github.com:mflatt/ChezScheme 2018-01-22 17:09:55 -07:00
ta6fb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ta6le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ta6nb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ta6nt.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ta6ob.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ta6osx.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ta6s2.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3fb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3nb.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3nt.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3ob.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3osx.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
ti3s2.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
tppc32le.def changed copyright year to 2017 2017-04-06 11:41:33 -04:00
trace.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
tree.ss tweak to tree-reduce memoization 2017-12-21 07:24:57 -07:00
types.ss avoid quadratics in call-live information 2017-12-21 05:34:11 -07:00
ubify.ss changed copyright year to 2017 2017-04-06 11:41:33 -04:00
x86_64.ss Merge branch 'pthread' of github.com:mflatt/ChezScheme 2018-01-22 17:09:55 -07:00
x86.ss Merge branch 'pthread' of github.com:mflatt/ChezScheme 2018-01-22 17:09:55 -07:00