~ chicken-core (chicken-5) a20de87124010f7d6578aa8cba76a8725e287908
commit a20de87124010f7d6578aa8cba76a8725e287908 Author: felix <felix@call-with-current-continuation.org> AuthorDate: Wed Jan 16 22:43:29 2013 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Wed Jan 16 22:43:29 2013 +0100 small doc fix for functor: added signature diff --git a/manual/Modules b/manual/Modules index 9b32b895..f8a40a65 100644 --- a/manual/Modules +++ b/manual/Modules @@ -433,11 +433,9 @@ to a set of exports. The general syntax of a functor definition looks like this: -<enscript highlight=scheme> -(functor (FUNCTORNAME (ARGUMENTMODULE1 EXPORTS1) ...) - FUNCTOREXPORTS - BODY) -</enscript> +<syntax>(functor (FUNCTORNAME (ARGUMENTMODULE1 EXPORTS1) ...) FUNCTOREXPORTS BODY)</syntax> + +Defines a "functor", a parameterized module. This functor definition does not generate any code. This is done by ''instantiating'' the functor for specific input modules:Trap