Ken Dickey wrote: > I am using R7 code but also procedure-name-set! which has just become > unavailabel with -r7r6. > > Is there a 'lenient option? > > Can I do an (import (cruft ..)) ?
Yes. (import (primitives procname ...)) will import procname ... from Larceny's underlying R5RS layer. > What is the proper way to get procedure-name-set! and friends back into the > global environment? % ./larceny --r7rs Larceny v0.99a1 (alpha test) (May 17 2016 19:31:23, precise:Linux:unified) larceny.heap, built on Tue May 17 19:31:43 EDT 2016 > (import (primitives procedure-name-set!)) > (define foo (lambda (x) (* x x))) foo > foo #<PROCEDURE foo> > (procedure-name-set! foo 'bar) #f > foo #<PROCEDURE bar> Will _______________________________________________ Larceny-users mailing list Larceny-users@lists.ccs.neu.edu https://lists.ccs.neu.edu/bin/listinfo/larceny-users