> Another alternative is to give the user the option of specifying such
> a unit when using the reduction meta-operator, but this seems to work
> against the whole point of [+] (which is brevity). If you want to
> specify your own unit, use '&reduce'.

Can't the appropriate identity just be prepended?

> > my @a;
> > [+] @a; # 0? exception?
[+] (0, @a);

> > [*] @a; # 1? exception?
[*] (1, @a);

> > [<] @a; # false?
[<] (-Inf, @a);  # ???


Brad

-- 
People with intelligence will use it to fashion both true and false and will
try to push through whatever they want with their clever reasoning.  This is
injury from intelligence.
  Nothing you do will have effect if you do not use truth. -- Hagakure

Reply via email to