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

13
LINES

< > BotCompany Repo | #1012729 // thoughtSpaceDone - opposite of newThoughtSpace

JavaX fragment (include)

static void thoughtSpaceDone(AbstractThoughtSpace ts) {
  if (ts != currentThoughtSpace())
    fail("Can't close thought space, not current: " + ts);
  thoughtSpaceDone();
}

static void thoughtSpaceDone() {
  AbstractThoughtSpace ts = currentThoughtSpace();
  if (ts instanceof ActualThoughtSpace)
    thoughtSpace(ts.parent);
  else
    print("thoughtSpaceDone without thought space");
}

Author comment

Began life as a copy of #1008192

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: #1012729
Snippet name: thoughtSpaceDone - opposite of newThoughtSpace
Eternal ID of this version: #1012729/3
Text MD5: 6adc774abf30fd2d9db75787f51749d7
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-11 03:10:12
Source code size: 401 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 467 / 506
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)