go.exp/locale/cldr: added Slice type that provides generic functionality
for operating on slices of Elems.  CLDR often specifies multiple variants
for a single definition.  Package writers may choose to select only a subset
of these definitions.  The operations in Slice provide some generic and common
operations for selecting among a set of alternatives.
Example users are removing all but the default values and select from a
preferred set of alternatives.

R=r
CC=golang-dev
https://golang.org/cl/7712049
3 files changed