Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1034086 // iff_nu26 - synonym of iteratorFromFunction

JavaX fragment (include)

// f: func -> A (stream ends when f returns null)
static <A> IterableIterator<A> iff_nu26(fO f) {
  ret iteratorFromFunction(f);
}


static <A> IterableIterator<A> iff_nu26(F0<A> f) {
  ret iteratorFromFunction(f);
}



static <A> IterableIterator<A> iff_nu26(IF0<A> f) {
  ret iteratorFromFunction(f);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034086
Snippet name: iff_nu26 - synonym of iteratorFromFunction
Eternal ID of this version: #1034086/1
Text MD5: 1bf552abbb0a5990da33ce8d6b38ff78
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-21 16:21:15
Source code size: 308 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 71 / 88
Referenced in: [show references]