V{ 5 16 42 103 } [ - ] map-prior
] unit-test
+{ V{ f f 26 61 } } [
+ 2 V{ 5 16 42 103 } [ - ] map-prior-from
+] unit-test
+
+{ V{ f f 26 61 } } [
+ 2 { 5 16 42 103 } [ - ] V{ } map-prior-from-as
+] unit-test
+
{ V{ } } [
{ } [ - ] V{ } map-prior-as
] unit-test
: map-prior-as ( ... seq quot: ( ... prior elt -- elt' ) exemplar -- seq' )
0 -roll map-prior-from-as ; inline
-: map-prior-from ( ... seq quot: ( ... prior elt -- elt' ) i -- seq' )
- pick map-prior-from-as ; inline
+: map-prior-from ( ... i seq quot: ( ... prior elt -- elt' ) -- seq' )
+ over map-prior-from-as ; inline
: map-prior ( ... seq quot: ( ... prior elt -- elt' ) -- seq' )
over map-prior-as ; inline