[Haskell-cafe] Re: [Off topic] Proving an impossibility
Jon Fairbairn
jon.fairbairn at cl.cam.ac.uk
Wed Sep 5 05:36:47 EDT 2007
Sterling Clover <s.clover at gmail.com> writes:
> of course you could rewrite this in a while loop too
> although you'd have to use an assignment, but at least
> still not one with a silly "done" variable.
People seem to have overlooked the bit of Algol68 I posted,
so I'll repeat it
While If E
Then S; F
Else False
Fi
Do T
Od
No break, no extra variables and natural to an A68
programmer, in fact much the same as a recursive function in
Haskell.
--
Jón Fairbairn Jon.Fairbairn at cl.cam.ac.uk
More information about the Haskell-Cafe
mailing list