From aa13382ba849144e4e7dadad322f879c23d6c007 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Sat, 18 Apr 2015 16:53:59 +0200 Subject: [PATCH] add deprecated alias groupBy = chunkBy; - to not break code in a point release --- std/algorithm/iteration.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/std/algorithm/iteration.d b/std/algorithm/iteration.d index 6cd044257..83e206148 100644 --- a/std/algorithm/iteration.d +++ b/std/algorithm/iteration.d @@ -1884,6 +1884,10 @@ unittest [""].map!((s) => s).chunkBy!((x, y) => true); } +// to be removed in 2.068.0 +deprecated("use chunkBy instead") +alias groupBy = chunkBy; + // joiner /** Lazily joins a range of ranges with a separator. The separator itself