cartesianprod
cartesianprod(
@llll ## required
) -> llll/null
Returns the cartesian product of the sublists of an llll.
Arguments
@llll[llll] (required)
Output
Cartesian product of the sublists of an llll. [llll/null]
warning
cartesianprod is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, cartesianprod will return null without raising an error if required arguments are not provided.
Usage
cartesianprod([1 2] [10 20]) ## [ 1 10 ] [ 1 20 ] [ 2 10 ] [ 2 20 ]