Talk:PassByConstruction

From Erights

Jump to: navigation, search

What about wabbits like this one:

 def makeWabbitSource := e`
 def makeWabbit implements pbc {
   to run() {
     def wabbit implements pbc {
       to run() {
         makeWabbit <- run()
       }
       to __optUncall() :any { return [makeWabbit, "run", []] }
     }
     wabbit <- run()
     return wabbit
   }
   to __optUncall() :any {
     return [makeWabbitSource, "eval", universalScope]
   }
 }`
 makeWabbitSource.eval(universalScope)
 makeWabbit()

--Zarutian 12:17, 9 September 2008 (CDT)

Personal tools
more tools