Libraryless. Click here for Pure Java version (2523L/16K).
1 | static <A> int lengthLevel2_strings(Iterable<S> l) { |
2 | int sum = 0; |
3 | fOr (S s : l) sum += l(s); |
4 | ret sum; |
5 | } |
Began life as a copy of #1025101
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030226 |
Snippet name: | lengthLevel2_strings |
Eternal ID of this version: | #1030226/1 |
Text MD5: | 91f728e714fa34cd76566d133f7f5cc0 |
Transpilation MD5: | ff473a63e9b640682a320eea7ef27eb5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-17 21:44:45 |
Source code size: | 113 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 168 / 241 |
Referenced in: | [show references] |