Newsgroups: comp.sys.transputer
From: andyr@wizzy.com (Andy Rabagliati)
Subject: Re: OCCAM3 (was :- Revision of occam 2 Referenc
Organization: W.Z.I.
Date: Mon, 8 Aug 1994 15:51:05 GMT
Message-ID: <Cu8416.Eo7@wizzy.com>

Peter Ivimey-Cook <peteric@gonzo> wrote:

[ Your headers are screwed up ]


>Anyone got any ideas *why* PAR is illegal inside a function. Was it just
>too complex a case to support? Or is there a valid mathematical reason?
>I understand that FUNCTIONS are supposed to be pure (side-effect free),
>but adding PAR wouldn't affect this, surely.

I can think of no good reason. There again, since the function cannot
communicate outside, there would little reason to do so.

But if the only way you could remember how to calculate primes was
a parallel Erasthones' sieve, I don't see why you couldn't put that in
your function.

Cheers,     Andy.

--
What they undertook to do		     Andy Rabagliati  andyr@wizzy.com
They brought to pass                        		      +1.719.635.6099
All things hang like a drop of dew
Upon a blade of grass           -- W.B. Yeats

