Libraryless. Click here for Pure Java version (896L/7K/20K).
!752 static S prefix = "history"; answer { L list = getHistory(); if (matchStart(prefix, s, m)) { s = m.rest(); if "length" ret lstr(list); if "fields" ret structure(fields(list)); } } static L<S> fields(L l) { new TreeSet<S> set; for (O o : l) if (o != null) set.addAll(objectToMap(o).keySet()); ret list(set); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment