Libraryless. Click here for Pure Java version (10342L/73K).
1 | // persistable version |
2 | static L dm_synchroList(DynModule mod) {
|
3 | ret new DMSynchroList(mod); |
4 | } |
5 | |
6 | // these are not persistable |
7 | static <A> L<A> dm_synchroList(DynModule mod, L<A> list) {
|
8 | ret listWithNotify(list, r { mod.change() });
|
9 | } |
10 | |
11 | static <A> L<A> dm_synchroList(L<A> list) {
|
12 | ret dm_synchroList(dm_current_mandatory(), list); |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026602 |
| Snippet name: | dm_synchroList - synchroList with automatic module change |
| Eternal ID of this version: | #1026602/7 |
| Text MD5: | 5932bf21a36e372b6117c7d3668ce18f |
| Transpilation MD5: | ab340b02942bb7d69edb646e459096b1 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-20 18:09:14 |
| Source code size: | 345 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 604 / 830 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |