1 | static boolean putMatch(Map<S, Lisp> matches, S key, Lisp val) {
|
2 | if (matches.containsKey(key)) |
3 | fail("multi-matching not implemented");
|
4 | matches.put(key, val); |
5 | ret true; |
6 | } |
7 | |
8 | static boolean putMatch(Map<S, Lisp> matches, S key, S val) {
|
9 | ret putMatch(matches, key, lisp(quote(val))); |
10 | } |
Began life as a copy of #1002721
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: | #1002726 |
| Snippet name: | putMatch |
| Eternal ID of this version: | #1002726/1 |
| Text MD5: | 50c2471d41ad2b8868095e8c11cf6f9a |
| Author: | stefan |
| Category: | eleu / nl |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-02-18 02:22:54 |
| Source code size: | 303 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 915 / 850 |
| Referenced in: | [show references] |