Uses 911K of libraries. Click here for Pure Java version (17635L/96K).
1 | !7 |
2 | |
3 | concept Entry { |
4 | S question; // match3 pattern |
5 | S moduleID; // snippet ID |
6 | } |
7 | |
8 | cmodule Question2Module > DynCRUD<Entry> { |
9 | start { |
10 | dbIndexing(Entry, 'question); |
11 | loadMechLists(); |
12 | } |
13 | |
14 | void loadMechLists() { |
15 | dm_useLocalMechListCopies(); |
16 | for (S listName : mechListNamesStartingWith("Questions leading to module ")) { |
17 | S moduleID = firstSnippetID(listName); |
18 | for (S question : mL(listName)) |
19 | uniq_sync(Entry, +question, +moduleID); |
20 | } |
21 | } |
22 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021094 |
Snippet name: | Question To Module [CRUD] |
Eternal ID of this version: | #1021094/3 |
Text MD5: | b633a84521aeba6a030d69869f859a48 |
Transpilation MD5: | 2571f975780f905744c845be35500a8d |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-22 15:18:38 |
Source code size: | 502 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 337 / 392 |
Version history: | 2 change(s) |
Referenced in: | [show references] |