Advertisement
logicmoo

Chocolate in PB

Mar 18th, 2016
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 4.28 KB | None | 0 0
  1. [debug]  ?- plvar(X),X=1,Y=X,rtrace(Y==X).
  2. ^  Call: (67) [system] must_atomic(system:metaterm_flags(global,set,metaterm_disabled))
  3. ^  Unify: (67) [system] must_atomic(system:metaterm_flags(global,set,metaterm_disabled))
  4. ^  Exit: (67) [system] must_atomic(system:metaterm_flags(global,set,metaterm_disabled))
  5.    Call: (67) [system] catch((call((trace,system:wo_metavmi('$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true))),notrace,deterministic(_G22992),true))*-
  6. > (_G22992==true->must_atomic(system:metaterm_flags(global,~,metaterm_disabled));must_atomic(system:metaterm_flags(global,~,metaterm_disabled));must_atomic(system:metaterm_flags(gl
  7. obal,set,metaterm_disabled)),fail);must_atomic(system:metaterm_flags(global,~,metaterm_disabled)),fail),_G22969,(must_atomic(system:metaterm_flags(global,~,metaterm_disabled)),thro
  8. w(_G22969)))
  9.    Unify: (67) [system] catch(system: (call((trace,system:wo_metavmi('$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true))),notrace,deterministic(_G22992)
  10. ,true))*-> (_G22992==true->must_atomic(system:metaterm_flags(global,~,metaterm_disabled));must_atomic(system:metaterm_flags(global,~,metaterm_disabled));must_atomic(system:metaterm
  11. _flags(global,set,metaterm_disabled)),fail);must_atomic(system:metaterm_flags(global,~,metaterm_disabled)),fail),_G22969,system: (must_atomic(system:metaterm_flags(global,~,metater
  12. m_disabled)),throw(_G22969)))
  13.    Call: (70) [system] wo_metavmi('$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true)))
  14.    Unify: (70) [system] wo_metavmi('$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true)))
  15. ^  Call: (75) [system] must_atomic(system:ignore(set_no_metavmi(_G23048,0+1)))
  16. ^  Unify: (75) [system] must_atomic(system:ignore(set_no_metavmi(_G23048,0+1)))
  17. ^  Exit: (75) [system] must_atomic(system:ignore(set_no_metavmi(0,0+1)))
  18.    Call: (75) [system] catch((call((trace,'$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true)),notrace,deterministic(_G23119),true))*-> (_G23119==true->m
  19. ust_atomic(system:set_no_metavmi(_G23054,0));must_atomic(system:set_no_metavmi(_G23054,0));must_atomic(system:ignore(set_no_metavmi(0,0+1))),fail);must_atomic(system:set_no_metavmi
  20. (_G23054,0)),fail),_G23096,(must_atomic(system:set_no_metavmi(_G23054,0)),throw(_G23096)))
  21.    Unify: (75) [system] catch(system: (call((trace,'$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true)),notrace,deterministic(_G23119),true))*-> (_G23119
  22. ==true->must_atomic(system:set_no_metavmi(_G23054,0));must_atomic(system:set_no_metavmi(_G23054,0));must_atomic(system:ignore(set_no_metavmi(0,0+1))),fail);must_atomic(system:set_n
  23. o_metavmi(_G23054,0)),fail),_G23096,system: (must_atomic(system:set_no_metavmi(_G23054,0)),throw(_G23096)))
  24.  
  25. Chocolate in PB
  26.  
  27.    Call: (78) [$attvar] wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true))
  28.    Unify: (78) [system] wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true))
  29.  
  30.  
  31. ^  Call: (83) [system] must_atomic(system:ignore(set_no_metavmi(_G23178,1+1)))
  32. ^  Unify: (83) [system] must_atomic(system:ignore(set_no_metavmi(_G23178,1+1)))
  33. ^  Exit: (83) [system] must_atomic(system:ignore(set_no_metavmi(1,1+1)))
  34.    Call: (83) [system] catch((call((trace,system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true),notrace,deterministic(_G23249),true))*-> (_G23249==true->must_atomic(system:set_
  35. no_metavmi(_G23184,1));must_atomic(system:set_no_metavmi(_G23184,1));must_atomic(system:ignore(set_no_metavmi(1,1+1))),fail);must_atomic(system:set_no_metavmi(_G23184,1)),fail),_G2
  36. 3226,(must_atomic(system:set_no_metavmi(_G23184,1)),throw(_G23226)))
  37.    Unify: (83) [system] catch(system: (call((trace,system: ('$metaterm_call'(==,2,_G19696{..},_G22902),true),notrace,deterministic(_G23249),true))*-> (_G23249==true->must_atomic(sy
  38. stem:set_no_metavmi(_G23184,1));must_atomic(system:set_no_metavmi(_G23184,1));must_atomic(system:ignore(set_no_metavmi(1,1+1))),fail);must_atomic(system:set_no_metavmi(_G23184,1)),
  39. fail),_G23226,system: (must_atomic(system:set_no_metavmi(_G23184,1)),throw(_G23226)))
  40.    Exit: (78) [system] wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},1),true))
  41.    Exit: (70) [system] wo_metavmi('$attvar':wo_metavmi(system: ('$metaterm_call'(==,2,_G19696{..},1),true)))
  42. Y = 1,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement