static Map<S, Int> ai_indexToNr_map = litcimap( "first", 1, "second", 2, "third", 3, "fourth", 4, "fifth", 5, "sixth", 6, "seventh", 7, "eighth", 8, "ninth", 9, "tenth", 10); static Int ai_indexToNr(S s) { ret mapGet(ai_indexToNr_map, s); }
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: | #1012506 |
Snippet name: | ai_indexToNr |
Eternal ID of this version: | #1012506/3 |
Text MD5: | 36956f6b6e50868851573e51124051cf |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-05 15:58:32 |
Source code size: | 279 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 408 / 469 |
Version history: | 2 change(s) |
Referenced in: | [show references] |