Uses 911K of libraries. Click here for Pure Java version (7618L/40K).
1 | !7 |
2 | |
3 | cmodule SalvageCurlyPhrases > DynBigInputAndList {
|
4 | visual withRightAlignedButtons(super, "Save phrases", rThread savePhrases); |
5 | |
6 | JComponent wrapListComponent(JComponent component) {
|
7 | ret jSection("Phrases found", component);
|
8 | } |
9 | |
10 | void makeList_impl {
|
11 | setList(map curlyOpt(uniquifyCI(allCurlyBracketPhrases(text)))); |
12 | } |
13 | |
14 | void savePhrases enter {
|
15 | addToMechCISet("General phrases (long list)", map uncurly(list()));
|
16 | } |
17 | } |
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: | #1022897 |
| Snippet name: | Salvage curly phrases in input |
| Eternal ID of this version: | #1022897/7 |
| Text MD5: | 296b5467088e12ed380af1e18143d6e3 |
| Transpilation MD5: | bd2950c6ca44e12629489b3a16f42fee |
| Author: | stefan |
| Category: | javax / stefan's os / a.i. |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-14 19:05:52 |
| Source code size: | 463 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 486 / 929 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |