I don't think the behavior of repeating scalars, or expanding outer product dimensions, is really map mathematically, it's something a little different. Dimension mismatches are likely a bug when you really want map.
On Saturday, May 21, 2016 at 10:23:36 AM UTC-7, Steven G. Johnson wrote: > > > > On Saturday, May 21, 2016 at 12:36:31 PM UTC-4, Tony Kelman wrote: >> >> I can't think of any aside from the behavior when dimensions don't match, >> which falls under your exceptions... exception. >> >> Maybe map could have a flag to set whether to be picky about matching >> dimensions, or behave like broadcast if not? >> > > Why not just have map behave all the time like broadcast? >
