[e-lang] can e do this?
Mark Miller
erights at gmail.com
Sun Apr 6 05:44:35 EDT 2008
On Sun, Apr 6, 2008 at 12:26 AM, John Carlson
<john.carlson3 at sbcglobal.net> wrote:
> In E, can you write something like this?
>
> if (the next expression is true) then {
> the previous expression is false
> }
>
> How? I would expect it to go into some kind of infinite loop, or
> throw an exception.
Not in this way. But the Datalock example in section 16.3 (p119) of my
thesis may be close enough. It becomes stuck, but neither with an
infinite loop nor with an exception.
--
Text by me above is hereby placed in the public domain
Cheers,
--MarkM
More information about the e-lang
mailing list