// f: func -> A (stream ends when f returns null) static <A> IterableIterator<A> iff_endOnNull(fO f) { ret iteratorFromFunction(f); } // optimized version for F0 argument static <A> IterableIterator<A> iff_endOnNull(F0<A> f) { ret iteratorFromFunction(f); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020433 |
Snippet name: | iff_endOnNull - synonym of iteratorFromFunction |
Eternal ID of this version: | #1020433/1 |
Text MD5: | 8bb6ce2ced228cdc21556bb4ccd3652e |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-21 17:02:50 |
Source code size: | 268 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 299 / 335 |
Referenced in: | [show references] |