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

11
LINES

< > BotCompany Repo | #1027448 // dm_synchroList - synchroList with automatic module change (old version, not persistable)

JavaX fragment (include)

static L dm_synchroList(DynModule mod) {
  ret listWithNotify(r { mod.change() });
}

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);
}

Author comment

Began life as a copy of #1026602

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: #1027448
Snippet name: dm_synchroList - synchroList with automatic module change (old version, not persistable)
Eternal ID of this version: #1027448/1
Text MD5: ac87727be6063412e09384b836091214
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:07:06
Source code size: 303 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 115 / 143
Referenced in: [show references]