Jump to content

Function prototype: Difference between revisions

m
Line 260:
 
=={{header|Common Lisp}}==
In Common Lisp, function prototypes can be used with <code>(declaim (inline func-name))</code> function arguments are taken when the function is defined. In addition, the argument types aren't needed.
 
Caveat -- This works with specific implementations of CL. This was tested in SBCL.
 
<lang lisp>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.