Transpiled version (32702L) is out of date.
!include once #1034831 // Gazelle 22 Function Include for Testing set flag PingV3. svoid test_leftArrowScript_forEach() { S script = trimAllLines( [[ l <- ll 2 3 sum <- 0 for number in l { sum <- plus sum number } sum ]]); assertEqualsVerbose(5, leftArrowVerbose((S) script)); }
Began life as a copy of #1033988
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034238 |
Snippet name: | test_leftArrowScript_forEach |
Eternal ID of this version: | #1034238/5 |
Text MD5: | 04a76f2322eee13fb19ccd0e9850162f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-09-22 17:54:13 |
Source code size: | 329 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 211 / 314 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1034240 - test_leftArrowScript_forEach Lean Mode #1037254 - test_leftArrowScript_doWhile |