[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1235: Issue with parameters
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1235: Issue with parameters |
Date: |
Tue, 15 Dec 2015 10:53:53 -0000 |
#1235: Issue with parameters
-----------------------------+----------------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: core libraries | Version: 4.10.x
Resolution: | Keywords: parameters, make-parameter
-----------------------------+----------------------------------------
Comment (by sjamaan):
This happens because parameterize expands to a call that passes #t or #f
as a second argument to the parameter procedure, depending on whether the
converter needs to be invoked.
We can never truly hide this, because the macro expands to code at the
call site, which means whatever it expands to needs to be accessible to
the user.
See also my suggestion in #1227 to make the second argument a keyword.
This would make the problem less likely.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1235#comment:1>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.