This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 44: Testing function arity

2011-01-24 08:14:41
WG1 - Core
alexshinn
minor
medernac
wontfix
source
closed
2010-03-08 16:02:34
defect

We would like a standard for checking function arity.

SRFI-102 proposes a way to check function arity:

Many Scheme systems provide mechanisms for inspecting the arity of a procedural value, making it a common feature, however there is no standard interface. As a result there is no portable way to observe the arity of a procedure.

Do we standardize it ?

This only makes sense in the context of a major overhaul of the type system within Scheme. While I think we should do *that*, I am less than sure that doing *this* without doing that makes any sense at all, except as a case of rampant featuritis.

No. Let WG2 handle it.

Replying to [comment:1 kumoyuki]:

This only makes sense in the context of a major overhaul of the type system within Scheme. While I think we should do *that*, I am less than sure that doing *this* without doing that makes any sense at all, except as a case of rampant featuritis. No. Let WG2 handle it.

Ok, I agree to postpone this issue until a (dynamic) type system has been proposed.

description We would like a standard for checking function arity. SRFI-102 proposes a way to check function arity: Many Scheme systems provide mechanisms for inspecting the arity of a procedural value, making it a common feature, however there is no standard interface. As a result there is no portable way to observe the arity of a procedure. Do we standardize it ? We would like a standard for checking function arity. SRFI-102 proposes a way to check function arity: Many Scheme systems provide mechanisms for inspecting the arity of a procedural value, making it a common feature, however there is no standard interface. As a result there is no portable way to observe the arity of a procedure. Do we standardize it ?
resolutionfixed
statusnewclosed

The WG2 voted to reject function arity.

resolutionfixed
statusclosedreopened
resolutionwontfix
statusreopenedclosed