From 5ad3b029f9c9bc7c4bf20c7d6673bd52d13bfd27 Mon Sep 17 00:00:00 2001 From: Miguel de Benito Date: Sat, 7 Jun 2014 16:53:37 +0000 Subject: [PATCH] Doc: a few words on tm-properties --- devel/scheme/utils/utils-overload.en.tm | 64 ++++++++++++++++++------- 1 file changed, 48 insertions(+), 16 deletions(-) diff --git a/devel/scheme/utils/utils-overload.en.tm b/devel/scheme/utils/utils-overload.en.tm index bdd0d61..05cfbfb 100644 --- a/devel/scheme/utils/utils-overload.en.tm +++ b/devel/scheme/utils/utils-overload.en.tm @@ -1,17 +1,22 @@ - + - +> <\body> - Conventional programming languages often provide mechanism to overload + Conventional programming languages often provide some means to overload certain functions depending on the types of the arguments. provides additional context-based overloading mechanisms, which require the - use of the construct for function declarations (and - for macro declarations). Furthermore, one may use - for associating additional properties to a function, such - as documentation or default values for the arguments. + use of the construct for function definitions (and + for macro definitions). Definition with + also allows the specification of properties of the + function/macro: arguments, synopsis, etc. + + Furthermore, one may use for associating additional + properties, such as interactivity or default values for the arguments, of a + function , specifically functions exported + from code through the glue. <\explain> @@ -26,7 +31,22 @@ macros defined using and are public. Each option is of the form )> and the starts at the first element - of the list following which is not of this form. + of the list following which is not of this form. Available + options are , , , , + , , , , + , and . + + + <\explain> + )> + properties definition> + <|explain> + allows the declaration of properties for + functions which have already been defined, specifically for functions + exported through the glue. Available options are , + , , , , + , , , , + and . @@ -155,12 +175,19 @@ <\explain> - )> + )> + + + )> <|explain> This option gives a short of one of the arguments to the function or macro. Such a description is used for - instance for the prompts, when calling the function interactively. + instance for the prompts, when calling the function interactively. For + these uses, the second format allows for the specification of a + which changes how the widgets/prompts work. Some allowed + values are , the default, and and + . If any of the last two is specified, tab completion in + the interactive prompt will traverse the file system. <\explain> @@ -171,6 +198,14 @@ the function or macro. + <\explain> + ))> + <|explain> + This option specifies that a function or macro performs a conversion from + the data type to the data type . + + -<\initial> - <\collection> - - - \ No newline at end of file + +> \ No newline at end of file