Uses 911K of libraries. Click here for Pure Java version (12436L/65K).
1 | !7 |
2 | |
3 | concept Entry { |
4 | S text; |
5 | int index; |
6 | } |
7 | |
8 | cmodule ELEListOfEverything > DynCRUD<Entry> { |
9 | L<Entry> concepts() enter { ret asList(conceptsSortedByField(Entry, 'index)); } |
10 | |
11 | start { |
12 | indexConceptFieldCI(Entry, 'text); |
13 | dm_registerAs eleLOE(); |
14 | } |
15 | |
16 | // API |
17 | |
18 | void addToLOE(S s) q { |
19 | S s2 = trim(s); |
20 | if (nempty(s2)) |
21 | uniqCI Entry(text := s2); |
22 | } |
23 | } |
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: | #1026671 |
Snippet name: | ELE: List Of Everything [CRUD version] |
Eternal ID of this version: | #1026671/13 |
Text MD5: | 52244a8f9fd426c39ccbd7c3918381f0 |
Transpilation MD5: | 0a136f6adaa3cb1a046326aaa5a79fdc |
Author: | stefan |
Category: | javax / ele |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-18 22:15:56 |
Source code size: | 398 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 276 / 749 |
Version history: | 12 change(s) |
Referenced in: | [show references] |