Element - M
- Map Function
Characters:
M
Description
Map function object b over a
Overloads
any-fun
-map(b,a) (apply function b to each of a)
any-any
-pair each item of b with a ([[a, i] for i in b])
Examples
5 ⟨1|2|3⟩ M
=⟨⟨5|1⟩|⟨5|2⟩|⟨5|3⟩⟩
`z` `hi` M
=⟨⟨`z`|`h`⟩|⟨`z`|`i`⟩⟩
⟨1|2⟩ ⟨1|2⟩ M
=⟨⟨⟨1|2⟩|1⟩|⟨⟨1|2⟩|2⟩⟩
`hi` 3 M
=⟨⟨`hi`|1⟩|⟨`hi`|2⟩|⟨`hi`|3⟩⟩