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

8
LINES

< > BotCompany Repo | #1008684 // Test currying [OK]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1421L/10K/34K).

1  
!7
2  
3  
p {
4  
  assertEqualsVerbose("hello.world", callF(curry(f concat, "hello"), "world"));
5  
  print("OK");
6  
}
7  
8  
sS concat(S a, S b) { ret a + "." + b; }

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: #1008684
Snippet name: Test currying [OK]
Eternal ID of this version: #1008684/2
Text MD5: 0e31699b3fda29446b44dd8bd65a929a
Transpilation MD5: 4962e34e2c674431f12ab43bf665d435
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-28 14:26:49
Source code size: 153 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 462 / 546
Version history: 1 change(s)
Referenced in: [show references]