Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1026602 // dm_synchroList - synchroList with automatic module change

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10342L/73K).

// persistable version
static L dm_synchroList(DynModule mod) {
  ret new DMSynchroList(mod);
}

// these are not persistable
static <A> L<A> dm_synchroList(DynModule mod, L<A> list) {
  ret listWithNotify(list, r { mod.change() });
}

static <A> L<A> dm_synchroList(L<A> list) {
  ret dm_synchroList(dm_current_mandatory(), list);
}

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: 356 / 509
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027448 - dm_synchroList - synchroList with automatic module change (old version, not persistable)