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

11
LINES

< > BotCompany Repo | #1017276 // Test allSpreads (OK)

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (6554L/46K).

!7

p-exp {
  for (L<Int> l : allSpreads(5, 3))
    printStruct(l);
    
  LL<Int> l = asList(allSpreads(5, 3));
  assertEqualsVerbose(l(l), 21);
  //LL<Int> l2 = reversed(map reversed(l));
  //pnlStruct(zipTwoListsToPairs_ifSameLength(l, l2));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017276
Snippet name: Test allSpreads (OK)
Eternal ID of this version: #1017276/4
Text MD5: 20891f8c44d235674d568080a079d8c0
Transpilation MD5: e175971b35c8e72329402b11865e5989
Author: stefan
Category: javax / maths
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-16 15:22:02
Source code size: 256 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 942
Version history: 3 change(s)
Referenced in: [show references]