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


< > BotCompany Repo | #1028831 - mapBasicLogicRule - apply function to both sides of a rule

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

Transpiled version (2496L) is out of date.

static <A> BasicLogicRule<A> lambdaMapLike mapBasicLogicRule(IF1<A> f, BasicLogicRule<A> r) {
  ret r == null ? null : BasicLogicRule<A>(f.get(r.lhs), f.get(r.rhs));

static <A> BasicLogicRule<A> lambdaMapLike mapBasicLogicRule(BasicLogicRule<A> r, IF1<A> f) {
  ret mapBasicLogicRule(f, r);

Author comment

Began life as a copy of #1008382

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1028831
Snippet name: mapBasicLogicRule - apply function to both sides of a rule
Eternal ID of this version: #1028831/6
Text MD5: 61af658dfaf12ee126d7e29cd950aac0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 14:49:06
Source code size: 297 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 44 / 77
Version history: 5 change(s)
Referenced in: [show references]

Formerly at &