1 | static WeakAssoc<L<Statement>, Map<S, LispStatement>> lispStatements_cache = new WeakAssoc(f statementsToLisp); |
2 | |
3 | static Map<S, LispStatement> lispStatements_global; |
4 | |
5 | static Map<S, LispStatement> lispStatements_cached() {
|
6 | ThoughtSpace ts = thoughtSpace(); |
7 | if (ts != null) ret ts.statements; |
8 | if (lispStatements_global != null) ret lispStatements_global; |
9 | ret lispStatements_cache.get(loadTruth_cached()); |
10 | } |
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: | 827 / 818 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |