Re: multi-line expressions -- Addition

Jack Jansen (Jack.Jansen@cwi.nl)
Fri, 25 Feb 1994 11:50:31 +0100

After re-reading my previous posting I noticed that I had forgotten
one new symbol: the end-of-file symbol. With the end-of-file symbol my
one-liner

> isprime(x):((i in range(2,int(sqrt(x)),2):(x%i==0?0))1)

would become much clearer, as in

isprime(x):((i in range(2,int(sqrt(x)),2):(x%i==0?0))1):-)

--
Jack Jansen        | If I can't dance I don't want to be part of
Jack.Jansen@cwi.nl | your revolution             -- Emma Goldman
uunet!cwi.nl!jack    G=Jack;S=Jansen;O=cwi;PRMD=surf;ADMD=400net;C=nl