Phil Carmody on Fri, 08 Mar 2013 11:03:56 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: PARI 2.6 syntax 2: [f(x)|x<-a,b(x)]
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: PARI 2.6 syntax 2: [f(x)|x<-a,b(x)]
- From: Phil Carmody <thefatphil@yahoo.co.uk>
- Date: Fri, 8 Mar 2013 10:03:48 +0000 (GMT)
- Delivery-date: Fri, 08 Mar 2013 11:03:56 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1362737028; bh=JYFPA+xrR7aZ9rq5A53Wl+FaEXQNdqcqsAKlYiax3lw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=HqVM4qyfqLIdhrvbIDbVXWgdiWS/vCDaS0lEh++H7nr/JjC8hJdOrObbM+sq8LJIMuA9je8MYhgJxybldgNaynn3uv3iSGo6XgN7X4rKb5DMmDt+SFTJUYdh7Q9/qbbdO57vlTSOYYstZgQnAFkKzH4zTM2UEpBiks3a5bV94do=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=x6DyGT5TjWyAEb+lQM6XpqbZe21Qb/x9llcypmkwAY0ndJolz0r3xCLiMSqmMRXZn32sEmYEm/5ykNTwWdZWN8kD8vCpIef+DiJq/JuLq2CPJsx23GryH40iJp9e3kIduUxhb9dhBrkm1/BrXpd6/gzrqSGm4WSeIpd60EA3lSM=;
- In-reply-to: <20130308093630.GA7364@debian>
--- On Fri, 3/8/13, Andreas Enge <andreas.enge@inria.fr> wrote:
> On Fri, Mar 08, 2013 at 08:01:25AM +0100, Pascal Molin wrote:
> > Well @ is still available, no ? The email analogy is OK : "in the following
> > domain"
>
> Magma uses the keyword "in", which is quite reasonable.
If we're brainstorming, \in springs to mind.
If we're on the topic of that operator, is there any reason it doesn't act as a predicate?
? excludes=[2,3,5]
%1 = [2, 3, 5]
? [x^2|x <- [1..100],!x <- excludes]
*** at top-level: [x^2|x<-[1..100],!x<-excludes]
*** ^-----------
*** _<_: forbidden comparison t_INT , t_VEC (3 elts).
*** Break loop: type 'break' to go back to GP prompt
Phil
--
() ASCII ribbon campaign () Hopeless ribbon campaign
/\ against HTML mail /\ against gratuitous bloodshed
[stolen with permission from Daniel B. Cristofani]