Skip to content

Commit

Permalink
Disclaim last being a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mousetail authored Sep 17, 2024
1 parent f5d03dd commit c9d1ce1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/content/manual/v1.7/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3005,7 +3005,8 @@ sections:
Note that `nth(n; expr)` doesn't support negative values of `n`.
`first` and `nth` produce no values if the generator has insufficient
elements. `last` returns `null` instead.
elements. `last` currently returns `null` instead but this is
a bug and may be changed in a future release.
examples:
- program: "[first(range(.)), last(range(.)), nth(./2; range(.))]"
Expand Down

0 comments on commit c9d1ce1

Please sign in to comment.