frequencies function
dynamic
frequencies(
- dynamic coll$1
Implementation
dc.dynamic frequencies(dc.dynamic coll$1, ){
final dc.dynamic coll7657$1=coll$1;
dc.dynamic f7658$1(dc.dynamic counts$1, dc.dynamic x$1, ){
return (lcoc_core.assoc$BANG_.$_invoke$3(counts$1, x$1, (1+((lcoc_core.$get_.$_invoke$3(counts$1, x$1, 0, )) as dc.num)), ));
}
final dc.dynamic start7659$1=lcoc_core.transient(lcoc_core.$_EMPTY_MAP, );
late final dc.dynamic $if_$1;
if((coll7657$1 is lcoc_core.IReduce$iface)){
$if_$1=((coll7657$1 as lcoc_core.IReduce$iface).$_reduce$2(f7658$1, start7659$1, ));
}else{
$if_$1=((lcoc_core.IReduce.extensions(coll7657$1, ) as lcoc_core.IReduce$ext).$_reduce$2(coll7657$1, f7658$1, start7659$1, ));
}
return lcoc_core.persistent$BANG_($if_$1, );
}