Iterator linearProduce(Concept c) {
if (c.closed)
return new ListIterator(c.stringExamples);
S[] s = c.matchDescription("concatenation of *");
if (s != null) {
Concept element = singular(s[0]);
return produceConcatenation(element);
}
}
Iterator produceConcatenation(Concept c) {
return new Iterator() {
static final int n = 2;
boolean hasNext() { return i < n; }
(""); todo
}
}download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1000770 |
| Snippet name: | linearProduce (developing) |
| Eternal ID of this version: | #1000770/1 |
| Text MD5: | 0c1fbd5585ec5cb38d6d7f653852eb65 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-08-26 20:55:41 |
| Source code size: | 430 bytes / 17 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1025 / 980 |
| Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) |