Mercurial > repos > rhope
view testpauseresume.rhope @ 173:e769b2e0facc
Syntactic sugar for calling a value
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 17 May 2011 23:17:42 -0700 |
parents | f2cb85c53ced |
children |
line wrap: on
line source
Foo[:out] { a <- Yield[] Val[a] { out <- Print["Foo!"] } } Main[:out] { Call Async[Foo[?]] { got char <- Get Char[] } Val[got char] { out <- Yield[] } }