!752 concepts. // A name defined by a string concept Name { S name; S saidByWhom; long saidWhen; *() {} *(S *name, S *saidByWhom, long *saidWhen) { change(); } } // Convert a name to a snippet ID concept Name2Program extends IdentificationTask { new Ref input; S outSnippetID; *() {} *(Concept input, S outSnippetID) { this.input.set(input); this.outSnippetID = outSnippetID; change(); } } // Let's validate stuff so it can be used. concept Validate { new Ref object; *() {} *(Concept object) { this.object.set(object); } } p { }
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: | #1005042 |
Snippet name: | Name 2 Program [dev.] |
Eternal ID of this version: | #1005042/1 |
Text MD5: | 62151a61b3491e935986ed7ebe51e340 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-01 22:44:32 |
Source code size: | 625 bytes / 39 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 501 / 507 |
Referenced in: | [show references] |