Initial cut at documentation.
svn: r18495
This commit is contained in:
parent
ef90b0f91d
commit
cd3499dea5
|
@ -65,6 +65,14 @@ produced by @scheme[define-struct],
|
|||
typically, however, @scheme[name] is not used for reporting errors,
|
||||
since the procedure name is typically hard-wired into an internal
|
||||
check.}
|
||||
|
||||
@defproc[(procedure->method [proc procedure?])
|
||||
procedure?]{
|
||||
|
||||
Returns a procedure that is like @scheme[proc] except that, when applied
|
||||
to the wrong number of arguments, the resulting error hides the first
|
||||
argument as if the procedure had been compiled with the
|
||||
@indexed-scheme['method-arity-error] syntax property.}
|
||||
|
||||
@; ----------------------------------------
|
||||
@section{Keywords and Arity}
|
||||
|
|
Loading…
Reference in New Issue
Block a user