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

10
LINES

< > BotCompany Repo | #1027897 // ai_evalFunctionCallLHS

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

Transpiled version (2614L) is out of date.

// getFunction returns a function for a name
sO ai_evalFunctionCallLHS(BasicLogicRule rule, IF1 getFunction) {
  if (rule.lhs instanceof FunctionCall) {
    FunctionCall fc = cast rule.lhs;
    O f = getFunction.get(fc.function);
    if (f == null) null;
    ret callF(f, fc.args);
  }
  null;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027897
Snippet name: ai_evalFunctionCallLHS
Eternal ID of this version: #1027897/4
Text MD5: ac58a42359b9ee787d9d2a59a973cc2a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 17:39:55
Source code size: 304 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 206
Version history: 3 change(s)
Referenced in: [show references]