1 | static SS gazelle_inputMapFromLineAndHistory(S line, LS history) { |
2 | SS inputMap = litmap(standard := line); |
3 | for (int i = 0; i < l(history); i++) |
4 | inputMap.put("history-" + (l(history)-i), history.get(i)); |
5 | ret inputMap; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021777 |
Snippet name: | gazelle_inputMapFromLineAndHistory |
Eternal ID of this version: | #1021777/3 |
Text MD5: | 04bde9484011f704fce44db7b20164f5 |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-26 12:29:09 |
Source code size: | 233 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 219 / 262 |
Version history: | 2 change(s) |
Referenced in: | [show references] |