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

11
LINES

< > BotCompany Repo | #1028937 - too_transformInput_returnLast

JavaX fragment (include)

sS too_transformInput_returnLast(S input, IVF1<TransformersOnObjects> code) {
  // make too, load input
  new TransformersOnObjects too;
  too.add(Input(input));
  
  // run user code
  code.get(too);

  // return last transformed input
  ret too_thinkAndReturnLastTransformedInput(too);
}

Author comment

Began life as a copy of #1028909

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028937
Snippet name: too_transformInput_returnLast
Eternal ID of this version: #1028937/1
Text MD5: 66003618d5a000128871e9474b09dea2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-12 12:55:17
Source code size: 299 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 7 / 16
Referenced in: [show references]

Formerly at http://tinybrain.de/1028937 & http://1028937.tinybrain.de