
-----------------------------------
wtd
Sun Nov 19, 2006 10:19 am

Io TYS
-----------------------------------
Reimplement Io's "if" such that the following code will run and produce the expected result.

myif(false, 3) println

myif(3, 4, 5, 6) println

myif(nil) mythen(
   "hello" println
) myelseif("foo") then(
   "wooble"println
) myelse(
   "world" println
) println

Your implementation may use Io's "if", but should do so as sparingly as possible.
