[m-dev.] Adding Loops to Mercury

Michael Richter ttmrichter at gmail.com
Thu Jan 2 16:13:15 AEDT 2014


On 2 January 2014 10:41, John Adams <jpadams78 at gmail.com> wrote:

> Is there or plan (maybe already done) to add loops to Mercury Language?
>
> Visual Prolog has loops of the form:
>
> foreach I=std::fromTo(1,1000) do
>    %...whatever
> end foreach.
>

God I hope not!

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/developers/attachments/20140102/bad24271/attachment.html>


More information about the developers mailing list