amap function

dynamic amap(
  1. dynamic $AMPERSAND_form$1,
  2. dynamic $AMPERSAND_env$1,
  3. dynamic a$1,
  4. dynamic idx$1,
  5. dynamic ret$1,
  6. dynamic expr$1,
)

Implementation

dc.dynamic amap(dc.dynamic $AMPERSAND_form$1, dc.dynamic $AMPERSAND_env$1, dc.dynamic a$1, dc.dynamic idx$1, dc.dynamic ret$1, dc.dynamic expr$1, ){
final dc.dynamic arg$10=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "let", )), ));
final dc.dynamic arg$3=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "a__8882__auto__", )), ));
final dc.dynamic arg$2=(lcoc_core.list.$_invoke$1(a$1, ));
final dc.dynamic arg$1=(lcoc_core.list.$_invoke$1(ret$1, ));
final dc.dynamic o7603$1=(lcoc_core.concat.$_invoke$2((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "aclone", )), )), (lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "a__8882__auto__", )), )), ));
late final dc.dynamic $if_$1;
if((o7603$1 is lcoc_core.ISeqable$iface)){
$if_$1=((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$1=((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
}
final dc.dynamic $1=(lcoc_core.list.$_invoke$1($if_$1, ));
final dc.dynamic o7603$2=(lcoc_core.concat.$_invoke$4(arg$3, arg$2, arg$1, $1, ));
late final dc.dynamic $if_$2;
if((o7603$2 is lcoc_core.ISeqable$iface)){
$if_$2=((o7603$2 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$2=((lcoc_core.ISeqable.extensions(o7603$2, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$2, ));
}
final dc.dynamic $2=(lcoc_core.apply.$_invoke$2(lcoc_core.vector, $if_$2, ));
final dc.dynamic $13=(lcoc_core.list.$_invoke$1($2, ));
final dc.dynamic arg$9=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "loop", )), ));
final dc.dynamic o7603$3=(lcoc_core.concat.$_invoke$2((lcoc_core.list.$_invoke$1(idx$1, )), (lcoc_core.list.$_invoke$1(0, )), ));
late final dc.dynamic $if_$3;
if((o7603$3 is lcoc_core.ISeqable$iface)){
$if_$3=((o7603$3 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$3=((lcoc_core.ISeqable.extensions(o7603$3, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$3, ));
}
final dc.dynamic $3=(lcoc_core.apply.$_invoke$2(lcoc_core.vector, $if_$3, ));
final dc.dynamic $11=(lcoc_core.list.$_invoke$1($3, ));
final dc.dynamic arg$8=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "if", )), ));
final dc.dynamic arg$5=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "<", )), ));
final dc.dynamic arg$4=(lcoc_core.list.$_invoke$1(idx$1, ));
final dc.dynamic o7603$4=(lcoc_core.concat.$_invoke$2((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "alength", )), )), (lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "a__8882__auto__", )), )), ));
late final dc.dynamic $if_$4;
if((o7603$4 is lcoc_core.ISeqable$iface)){
$if_$4=((o7603$4 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$4=((lcoc_core.ISeqable.extensions(o7603$4, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$4, ));
}
final dc.dynamic $4=(lcoc_core.list.$_invoke$1($if_$4, ));
final dc.dynamic o7603$5=(lcoc_core.concat.$_invoke$3(arg$5, arg$4, $4, ));
late final dc.dynamic $if_$5;
if((o7603$5 is lcoc_core.ISeqable$iface)){
$if_$5=((o7603$5 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$5=((lcoc_core.ISeqable.extensions(o7603$5, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$5, ));
}
final dc.dynamic $9=(lcoc_core.list.$_invoke$1($if_$5, ));
final dc.dynamic arg$7=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "do", )), ));
final dc.dynamic o7603$6=(lcoc_core.concat.$_invoke$4((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "aset", )), )), (lcoc_core.list.$_invoke$1(ret$1, )), (lcoc_core.list.$_invoke$1(idx$1, )), (lcoc_core.list.$_invoke$1(expr$1, )), ));
late final dc.dynamic $if_$6;
if((o7603$6 is lcoc_core.ISeqable$iface)){
$if_$6=((o7603$6 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$6=((lcoc_core.ISeqable.extensions(o7603$6, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$6, ));
}
final dc.dynamic $7=(lcoc_core.list.$_invoke$1($if_$6, ));
final dc.dynamic arg$6=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "recur", )), ));
final dc.dynamic o7603$7=(lcoc_core.concat.$_invoke$2((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "inc", )), )), (lcoc_core.list.$_invoke$1(idx$1, )), ));
late final dc.dynamic $if_$7;
if((o7603$7 is lcoc_core.ISeqable$iface)){
$if_$7=((o7603$7 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$7=((lcoc_core.ISeqable.extensions(o7603$7, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$7, ));
}
final dc.dynamic $5=(lcoc_core.list.$_invoke$1($if_$7, ));
final dc.dynamic o7603$8=(lcoc_core.concat.$_invoke$2(arg$6, $5, ));
late final dc.dynamic $if_$8;
if((o7603$8 is lcoc_core.ISeqable$iface)){
$if_$8=((o7603$8 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$8=((lcoc_core.ISeqable.extensions(o7603$8, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$8, ));
}
final dc.dynamic $6=(lcoc_core.list.$_invoke$1($if_$8, ));
final dc.dynamic o7603$9=(lcoc_core.concat.$_invoke$3(arg$7, $7, $6, ));
late final dc.dynamic $if_$9;
if((o7603$9 is lcoc_core.ISeqable$iface)){
$if_$9=((o7603$9 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$9=((lcoc_core.ISeqable.extensions(o7603$9, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$9, ));
}
final dc.dynamic $8=(lcoc_core.list.$_invoke$1($if_$9, ));
final dc.dynamic o7603$10=(lcoc_core.concat.$_invoke$4(arg$8, $9, $8, (lcoc_core.list.$_invoke$1(ret$1, )), ));
late final dc.dynamic $if_$10;
if((o7603$10 is lcoc_core.ISeqable$iface)){
$if_$10=((o7603$10 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$10=((lcoc_core.ISeqable.extensions(o7603$10, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$10, ));
}
final dc.dynamic $10=(lcoc_core.list.$_invoke$1($if_$10, ));
final dc.dynamic o7603$11=(lcoc_core.concat.$_invoke$3(arg$9, $11, $10, ));
late final dc.dynamic $if_$11;
if((o7603$11 is lcoc_core.ISeqable$iface)){
$if_$11=((o7603$11 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$11=((lcoc_core.ISeqable.extensions(o7603$11, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$11, ));
}
final dc.dynamic $12=(lcoc_core.list.$_invoke$1($if_$11, ));
final dc.dynamic o7603$12=(lcoc_core.concat.$_invoke$3(arg$10, $13, $12, ));
if((o7603$12 is lcoc_core.ISeqable$iface)){
return ((o7603$12 as lcoc_core.ISeqable$iface).$_seq$0());
}
return ((lcoc_core.ISeqable.extensions(o7603$12, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$12, ));
}