Transpiled version (3405L) is out of date.
// currently collection and map only svoid pnlStruct(O o) { if (o cast Collection) pnlStruct(o); else if (o cast Map) pnlStruct(o); else if (o != null) pnlStruct(ll(o)); } static <A, B extends Collection<A>> B pnlStruct(B l) { pnlStruct((Iterable<A>) l); ret l; } static <A> Iterable<A> pnlStruct(Iterable<A> l) { ret pnlStruct("", l); } static <A> Iterable<A> pnlStruct(S prefix, Iterable<A> l) { int i = 0; if (l != null) for (A a : l) print(prefix + (++i) + ". " + struct_noStringSharing(a)); ret l; } static <A> A[] pnlStruct(A[] l) { pnlStruct(asList(l)); ret l; } static <A, B> Map<A, B> pnlStruct(Map<A, B> map) { pnl(map(map, func(A a, B b) { sfu(a) + " = " + sfu(b) })); ret map; }
Began life as a copy of #1007684
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment