print_sequential function

dynamic print_sequential(
  1. dynamic begin$1,
  2. dynamic end$1,
  3. dynamic sequence$1,
  4. dynamic sink$1,
)

Implementation

dc.dynamic print_sequential(dc.dynamic begin$1, dc.dynamic end$1, dc.dynamic sequence$1, dc.dynamic sink$1, ){
(sink$1 as dc.StringSink).write((begin$1 as dc.String), );
final dc.dynamic coll7657$1=sequence$1;
dc.bool f7658$1(dc.dynamic need_sep$1, dc.dynamic x$1, ){
if(((need_sep$1!=false)&&(need_sep$1!=null))){
(sink$1 as dc.StringSink).write(" ", );
}else{
}
final dc.dynamic o7570$1=x$1;
final dc.StringSink string_sink7571$1=(sink$1 as dc.StringSink);
if((o7570$1 is lcoc_core.IPrint$iface)){
(o7570$1 as lcoc_core.IPrint$iface).$_print$1(string_sink7571$1, );
}else{
(lcoc_core.IPrint.extensions(o7570$1, ) as lcoc_core.IPrint$ext).$_print$1(o7570$1, string_sink7571$1, );
}
return true;
}
if((coll7657$1 is lcoc_core.IReduce$iface)){
(coll7657$1 as lcoc_core.IReduce$iface).$_reduce$2(f7658$1, false, );
}else{
(lcoc_core.IReduce.extensions(coll7657$1, ) as lcoc_core.IReduce$ext).$_reduce$2(coll7657$1, f7658$1, false, );
}
return ((sink$1 as dc.StringSink).write((end$1 as dc.String), ));
}