Message Boards Message Boards

1
|
4299 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

ref/FirstPosition details section contains incorrect information

In the FirstPosition function documentation, this:

FirstPosition[list,pattern,{1},Heads->False] finds positions only of objects that appear as complete elements of list.

should read something like

FirstPosition[list,pattern,Nothing,{1},Heads->False]

because the third argument to FirstPosition is default, not levelspec. It seems the current text was just copied over from the Position docs.

POSTED BY: Jesse Friedman

Thank you for taking the time to report this to us. I've reported the error so it can be fixed.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract