map-concat-as ( ... seq quot: ( ... elt -- ... newelt ) exemplar -- ... newseq )


Vocabulary
sequences.extras

Inputs
seqa sequence
quota quotation
exemplaran object


Outputs
newseqa sequence


Word description
A version of map-concat where the resultant sequence has the same class as exemplar

Definition


: map-concat-as
( ... seq quot: ( ... elt -- ... newelt ) exemplar -- ... newseq )
[ appender-for [ each ] dip ] keep like ; inline