Jump to content

a typo or inconsistency in helpfile for gen-def


Recommended Posts

a minor correction suggested... I know this is fairly basic, but it made a beginner like me do a double take...

this is the helpfile:

Quote

gen-repeat number sequence &key section

 

[Function]

 

Arguments and Values:

 

number            an integer.

sequence            a list or atom.

section            a list of integers (sublists to process).

 

Description:

 

This function returns any number of repeats of a list or atom.

 

but further down it says...

 

Quote

If size is a list then each list is repeat individualy.

 

(gen-repeat '(3) '((c4 g4) (c4 a4)))

=> ((c4 g4 c4 g4 c4 g4) (c4 a4 c4 a4 c4 a4))

 

yet 'size' (which is in the type for a &key) is not a valid keyword, it refers to 'number'...

 

thought it may help others... must be a nightmare keeping all help-files consistent, my sympathies!

 

best,

Julio

 

 

 

 

 

 

 

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy