1 | !752 |
2 | |
3 | m {
|
4 | static new L<S> store; |
5 | |
6 | static void store(S s) {
|
7 | store.add(s); |
8 | } |
9 | |
10 | match "every integer between * and * is a *" |
11 | as int a, int b, S type {
|
12 | store(make("every * is a *", make("int between * and *", a, b), type));
|
13 | } |
14 | |
15 | match "is * a *" {
|
16 | } |
17 | |
18 | match "#*: * is a *" |
19 | as S value, S a, S b {
|
20 | checkType |
21 | } |
22 | } |
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: | #1001839 |
| Snippet name: | Years (developing) |
| Eternal ID of this version: | #1001839/1 |
| Text MD5: | 2489ded0eef58ec102bd5fc5f0cc1da9 |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-11-24 18:47:14 |
| Source code size: | 368 bytes / 22 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 789 / 767 |
| Referenced in: | [show references] |