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


< > BotCompany Repo | #1005301 - pcallF - synonym of pcallFunction

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2705L/16K).

static O pcallF(O f, O... args) {
  ret pcallFunction(f, args);

ifclass F0
static <A> A pcallF(F0<A> f) null on exception {
  ret f?!;

ifclass F1
static <A, B> B pcallF(F1<A, B> f, A a) null on exception {
  ret f?.get(a);

ifclass VF1
static <A> void pcallF(VF1<A> f, A a) {
  pcall {

static <A, B> B pcallF(IF1<A, B> f, A a) null on exception {
  ret f?.get(a);

Author comment

Began life as a copy of #1003403

download  show line numbers  debug dex  old transpilations   

Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jcllbfdqhrgy, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, whxojlpjdney, yanjaxplzisb

No comments. add comment

Snippet ID: #1005301
Snippet name: pcallF - synonym of pcallFunction
Eternal ID of this version: #1005301/8
Text MD5: e37a6e44b89f18b93031c53c9d434a2a
Transpilation MD5: 8d4cef7d6aa0643c91c2e05bcbe7e286
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 14:55:09
Source code size: 441 bytes / 27 lines
Pitched / IR pitched: No / No
Views / Downloads: 476 / 973
Version history: 7 change(s)
Referenced in: [show references]

Formerly at &