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

7
LINES

< > BotCompany Repo | #1014628 // nlPrint - print with new line in front

JavaX fragment (include)

1  
static <A> A nlPrint(A o) {
2  
  ret nlPrint("", o);
3  
}
4  
5  
static <A> A nlPrint(S prefix, A o) {
6  
  ret print("\n" + unnull(prefix), o);
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014628
Snippet name: nlPrint - print with new line in front
Eternal ID of this version: #1014628/3
Text MD5: fb4e2523b819a2e59cfe67f4259bb436
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-02 17:45:19
Source code size: 137 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 541
Version history: 2 change(s)
Referenced in: [show references]