Uses 679K of libraries. Click here for Pure Java version (33063L/164K).
1 | !include once #1034831 // Gazelle 22 Function Include for Testing |
2 | |
3 | scope test_leftArrowScript_antiComma |
4 | |
5 | svoid test_leftArrowScript_antiComma() { |
6 | new TestFunctionValues<S, O>(l1 leftArrowVerbose) |
7 | // basic use: ll < plus 1 2 = ll (plus 1 2) |
8 | .io([[ ll < plus 1 2 ]], ll(3)) |
9 | |
10 | // comma binds weaker on the right of an anti-comma |
11 | .io([[ ll < ll 5 6, size ]], ll(2)) |
12 | |
13 | // not decided yet if it does the same on the LHS |
14 | //.io([[ l, ll < 5 ]], ll(-3)) |
15 | |
16 | // "new" combined with "<" (the anti-comma) |
17 | .io([[ v <- new Var < new Pair |
18 | v get ]], pair(null, null)) |
19 | |
20 | .run(); |
21 | |
22 | } |
Began life as a copy of #1035254
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): ekrmjmnbrukm, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035479 |
Snippet name: | test_leftArrowScript_antiComma - opposite of the comma connector |
Eternal ID of this version: | #1035479/7 |
Text MD5: | 4386499ad24ea38773ecec9b0af42cc0 |
Transpilation MD5: | f83254d7a5129bee5f08329ff86dd339 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-02 08:47:17 |
Source code size: | 646 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 139 / 244 |
Version history: | 6 change(s) |
Referenced in: | [show references] |