View Issue Details

IDProjectCategoryView StatusLast Update
0000728LDMudDocumentationpublic2010-02-22 19:51
ReporterWildcat Assigned To 
PrioritynormalSeveritytextReproducibilityalways
Status newResolutionopen 
Summary0000728: efun documentation for filter hard to interpret
Descriptionthe first line of the english doc for filter reads:
        Call the function <ob>-><func>() resp. the closure <cl> for
        every element of the array, or mapping <arg>, and return a
        result made from those elements for which the function call
        returns TRUE.

A strict reading of the sentence makes no sense. I believe what it is trying to say is:
"Call either the function <ob>-><func>() or the closure <cl> for every element of the array, or mapping <arg>, and return a result made from those elements for which the function call returns TRUE."

resp. is probably an abbreviation for respectively but that's not a word that a newly promoted wizard would expect to know in the context given.

In addition, that sentence does not address the prototype:
         mixed * filter (mixed *arg, mapping map, mixed extra...)
so the whole thing should probably be rewritten. (This was something that actually came up when a new wizard was trying to learn the Mudlib and when using filter was suggested to him he had difficulty in parsing what the efun actually did based on the man page.)
TagsNo tags attached.
External Data (URL)

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-02-22 19:51 Wildcat New Issue