Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1000392 // Meta-programming example

Document

1  
>> contains("<all iois>", "<latest ioi>")
2  
3  
parse as Java expression
4  
replace "<all iois>" with "#681"
5  
replace "<latest ioi>" with "#1000384"
6  
load snippet id 1
7  
replace contains(x, y) with contains(toLines(x), y)
8  
use standard function "contains(List, Object)"

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000392
Snippet name: Meta-programming example
Eternal ID of this version: #1000392/1
Text MD5: a579f1088f3945eb24f22aafbc1d2dd7
Author: stefan
Category:
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-01 18:35:00
Source code size: 265 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 542 / 127
Referenced in: [show references]