Documentation for infix (.)

Documentation for infix (.), assembled from the following types:

language documentation Sets, Bags, and Mixes

From Sets, Bags, and Mixes

(Sets, Bags, and Mixes) infix (.)

only sub infix:<(.)>(**@p)

Baggy multiplication operator.

Returns the Baggy multiplication of its arguments, i.e., a Bag that contains each element of the arguments with the weights of the element across the arguments multiplied together to get the new weight.

<a b c> (.) <a b c d> === bag <a b c> # Since 1 * 0 == 0, in the case of 'd' 
bag(<a a b c a d>(.) bag(<a a b c c>=== ("a"=>6,"c"=>2,"b"=>1).Bag

infix ⊍

only sub infix:<>(|p)

Baggy multiplication operator (alternate).

Equivalent to infix (.), at codepoint U+228D (MULTISET MULTIPLICATION).