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

19
LINES

< > BotCompany Repo | #1026561 - dm_showListWithFeedback

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

Libraryless. Click here for Pure Java version (2601L/16K).

// list contains strings or pairs (item + reasoning) or WithReasoning
sS dm_showListWithFeedback(S description, Collection list, O... _) {
  S module = dm_showNewModule("#1026559/ListWithFeedback");
  dm_setAll(module,
    +description,
    code := optParam code(_),
    computerNotes := optParam computerNotes(_));
  dm_callModule(module, 'importItems, list);
  ret module;
}

sS dm_showListWithFeedback(Cl list, O... _) {
  ret dm_showListWithFeedback(null, list, _);
}

// use str(makeList) for "code" field
sS dm_showListWithFeedback(F0<? extends Cl> makeList, O... _) {
  ret dm_showListWithFeedback(makeList!, paramsPlus_noOverwrite(_, code := str(makeList)));
}

Author comment

Began life as a copy of #1019482

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026561
Snippet name: dm_showListWithFeedback
Eternal ID of this version: #1026561/8
Text MD5: db0b554b8751ea0816ba6d9633b0803d
Transpilation MD5: 77648f77b4f06a63435684a7bb54a6a8
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-01-19 00:54:17
Source code size: 686 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 20 / 64
Version history: 7 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026561 & http://1026561.tinybrain.de