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

7
LINES

< > BotCompany Repo | #1028165 - makeAnd - construct chain of And(...) objects. now automatically drops nulls

JavaX fragment (include)

sO makeAnd(O... l) {
  ret makeAnd(asList(l));
}

sO makeAnd(Cl l) {
  ret foldr_noSeed((a, b) -> And(a, b), nonNulls(l));
}

Author comment

Began life as a copy of #1027922

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1028165
Snippet name: makeAnd - construct chain of And(...) objects. now automatically drops nulls
Eternal ID of this version: #1028165/1
Text MD5: 6a44de2e76a2db46ca7fe3d348274390
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-24 20:07:02
Source code size: 130 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 31 / 41
Referenced in: [show references]

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