zippy / ceptr

(a recomposable medium for distributed social computing) || (semantic self-describing protocol stacks)
http://ceptr.org
GNU General Public License v3.0
88 stars 17 forks source link

Fix IF #116

Open zippy opened 8 years ago

zippy commented 8 years ago

Currently both branches are reduced and the value of the correct branch (from the if) is returned. This should act rather as flow control, preventing the non-true branch from even being reduced. Thus IF (and COND) act at a different level, more like ITERATE.

Duh, it's flow control...

zippy commented 8 years ago

This now works correctly in the COND (see #119) instruction. I'm tempted to leave this as is, or even remove IF