iterate function

dynamic iterate(
  1. dynamic f$1,
  2. dynamic x$1
)

Implementation

dc.dynamic iterate(dc.dynamic f$1, dc.dynamic x$1, ){
return lcoc_core.cons(x$1, lcoc_core.LazySeq(null, ((){
late final dc.dynamic $if_$1;
if((f$1 is dc.Function)){
$if_$1=(f$1 as dc.Function)(x$1, );
}else if((f$1 is lcoc_core.IFn$iface)){
$if_$1=((f$1 as lcoc_core.IFn$iface).$_invoke$1(x$1, ));
}else{
$if_$1=(lcoc_core.IFn.extensions(f$1, ).$_invoke$1(f$1, x$1, ));
}
return lcoc_core.iterate(f$1, $if_$1, );
} as dc.dynamic?), null, -1, ), );
}