Initial cut at documentation.

svn: r18495
This commit is contained in:
Stevie Strickland 2010-03-09 23:22:35 +00:00
parent ef90b0f91d
commit cd3499dea5

View File

@ -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}