From 6b6bc3ac6ce707305223925b373f5c1b1a0f2e53 Mon Sep 17 00:00:00 2001 From: Matt Bauman Date: Tue, 30 May 2017 19:13:52 -0500 Subject: [PATCH] NEWS for to_indices (#19730) --- NEWS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.md b/NEWS.md index 787a916a6c6d8..16e353d1400ac 100644 --- a/NEWS.md +++ b/NEWS.md @@ -400,6 +400,12 @@ Library improvements that dimension's length will be computed such that its product with all the other dimensions is equal to the length of the original array ([#19919]). + * The new `to_indices` function provides a uniform interface for index conversions, + taking an array and a tuple of indices as arguments and returning a tuple of + integers and/or arrays of supported scalar indices. It will throw an `ArgumentError` + for any unsupported indices, and the returned arrays should be iterated over (and + not indexed into) to support more efficient linear indexing ([#19730]). + * A new `titlecase` function was added, to capitalize the first character of each word within a string ([#19469]). * `any` and `all` now always short-circuit, and `mapreduce` never short-circuits ([#19543]).