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

12
LINES

< > BotCompany Repo | #1013593 // fg0 - combine two functions with no further argument - f(g())

JavaX fragment (include)

sclass FG0 extends F0 {
  F1 f; F0 g;
  
  *() {}
  *(F1 *f, F0 *g) {}
  
  O get() { ret f.get(g.get()); }
}

static F0 fg0(fO f, fO g) {
  ret FG0(f1(f), f0(g));
}

Author comment

Began life as a copy of #1008453

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013593
Snippet name: fg0 - combine two functions with no further argument - f(g())
Eternal ID of this version: #1013593/3
Text MD5: 40a5d258bb6a3d380a0db4117316a079
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-11 13:19:47
Source code size: 176 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 361 / 391
Version history: 2 change(s)
Referenced in: [show references]