2 Convenience file that allows to import entire Phobos in one import.
13 .filter
!(a
=> a
% 2) // 1 3 5
14 .map
!(a
=> a
* 2) // 2 6 10
16 .substitute(6, -6) // 2 -6 10
18 .reverseArgs
!format("Sum: %d");
21 assert(r
== "Sum: 6");
28 assert(10.iota
.map
!(a
=> pow(2, a
)).sum
== 1023);