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

10
LINES

< > BotCompany Repo | #1007740 // lispStatements_cached

JavaX fragment (include)

static WeakAssoc<L<Statement>, Map<S, LispStatement>> lispStatements_cache = new WeakAssoc(f statementsToLisp);

static Map<S, LispStatement> lispStatements_global;

static Map<S, LispStatement> lispStatements_cached() {
  ThoughtSpace ts = thoughtSpace();
  if (ts != null) ret ts.statements;
  if (lispStatements_global != null) ret lispStatements_global;
  ret lispStatements_cache.get(loadTruth_cached());
}

Author comment

Began life as a copy of #1007502

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007740
Snippet name: lispStatements_cached
Eternal ID of this version: #1007740/5
Text MD5: 7013535acca53ac6039046f18a149fbe
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-29 20:15:48
Source code size: 420 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 496 / 495
Version history: 4 change(s)
Referenced in: [show references]