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

11
LINES

< > BotCompany Repo | #1023245 // attractorBotFromLambda

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7243L/47K).

1  
static AttractorBot attractorBotFromLambda(IVF1<S> f) {
2  
  ret new AttractorBot {
3  
    {
4  
      standardAttractor(new DefaultAttractor {
5  
        run {
6  
          callF(f, input);
7  
        }
8  
      });
9  
    }
10  
  };
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023245
Snippet name: attractorBotFromLambda
Eternal ID of this version: #1023245/5
Text MD5: 9c575eb87f96b8cb9c1d512f08a30acb
Transpilation MD5: 8d55984a95da39048e7347e882ad7d2f
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-19 11:07:18
Source code size: 217 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 257 / 346
Version history: 4 change(s)
Referenced in: [show references]