SRFI 191: Procedure Arity Inspection

by John Cowan

Based on SRFI 102.

status: withdrawn (2020-07-05)

keywords: Introspection

See also SRFI 102: Procedure Arity Inspection and SRFI 151: Bitwise Operations.

Abstract

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 without actually applying it. This SRFI proposes a simple interface that is consistent with existing Scheme systems' facilities and prior proposals.