sclass FG extends F1 { F1 f, g; *() {} *(F1 *f, F1 *g) {} O get(O o) { ret f.get(g.get(o)); } } static O fg(fO f, fO g) { ret FG(f1(f), f1(g)); } static O fg(fO f, fO g, fO h) { ret fg(f, fg(g, h)); }
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: | #1008453 |
Snippet name: | fg - combine two functions - f(g(o)) [or three] |
Eternal ID of this version: | #1008453/5 |
Text MD5: | 271ae3defc76d60d0eb3eb631c706fd4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-11 21:41:19 |
Source code size: | 235 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 540 / 585 |
Version history: | 4 change(s) |
Referenced in: | [show references] |