1 | static S defineStandardFunction(S src) { |
2 | S name = first(findFunctionDefinitions(src)); |
3 | if (hasStandardFunction(name)) ret "Already defined: " + name; |
4 | S snippetID = createSnippet(src, name + " [uploaded by machine]", javaxIncludeSnippetType()); |
5 | ret addStdFunction(snippetID, true); |
6 | } |
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: | #1013451 |
Snippet name: | defineStandardFunction |
Eternal ID of this version: | #1013451/5 |
Text MD5: | 2fc96ed25094cb92dc8c2eb458568b6e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-07 02:44:07 |
Source code size: | 295 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 384 / 417 |
Version history: | 4 change(s) |
Referenced in: | [show references] |