"Jörg F. Wittenberger" scripsit: > Let's try by example: > > (define x (make-parameter #f)) > > Does this: > > (x #t) > > count as mutation in this respect or is it the way you do a rebind?
That is indeed mutation. You can work around the lack of mutation thus: (define x (make-parameter (cons #f 'junk))) Then use (car (x)) to get the value, and (set-car! (x) #t) to change it. By rebinding, I mean using the "parameterize" macro. If you aren't using it, you probably shouldn't use parameters, as they have extra costs on many implementations, notably Chicken. -- "Why yes, I'm ten percent Jewish on my manager's side." John Cowan --Connie Francis http://www.ccil.org/~cowan ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss