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)

static <A> A nlPrint(A o) {
  ret nlPrint("", o);
}

static <A> A nlPrint(S prefix, A o) {
  ret print("\n" + unnull(prefix), o);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, 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: 309 / 324
Version history: 2 change(s)
Referenced in: [show references]