Max Alekseyev on Mon, 08 May 2023 16:57:08 +0200
[
Date Prev
] [
Date Next
] [
Thread Prev
] [
Thread Next
] [
Date Index
] [
Thread Index
]
boolean values for [] and List()
To
:
pari-users@pari.math.u-bordeaux.fr
Subject
: boolean values for [] and List()
From
: Max Alekseyev <
maxale@gmail.com
>
Date
: Mon, 8 May 2023 10:55:16 -0400
Delivery-date
: Mon, 08 May 2023 16:57:08 +0200
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683557752; x=1686149752; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=fTqDq4FOBsmts6VoHEy2tz+nsfSswnny36nD6Acz5dw=; b=aSKhw47oOdrL4lbDIxHHcEQ2KbwYy2u7T38StS7PX0J/cIiHRuk7BcVucVRjHoo0eu RjMBb10rgk1xnXDvpIgoD1KZaeuJf3BhcOo/ybwKyKt93Qsw6TQqQGD8NpFgxiPZ5nIb 6FDFMcKE4SRwM18JWhodl3qzw4juI4gIERjHHeErb88+AdIwQ2ay0yCBuVh8ZPWmKNSa 58Cf1+W/R1sIOKvkczQoUrjJ7SFZNG4w9rh1C7qCEWTjUdccYhCL2DUa6UGQ8jH+zJyX xFenowRtkZNG3GUYQKqlfyk4AWFoMcBUlktnXtyIYFTyO5N+WPS2WewieevsUx0d3vJf 9+ew==
Why is there a discrepancy between empty vector and empty list?
? if([], print("yes"), print("no"))
no
? if(List(), print("yes"), print("no"))
yes
Regards,
Max
Follow-Ups
:
Re: boolean values for [] and List()
From:
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Re: boolean values for [] and List()
From:
Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
Prev by Date:
p-adic valuation under insufficient p-adic precision
Next by Date:
Re: p-adic valuation under insufficient p-adic precision
Previous by thread:
Re: p-adic valuation under insufficient p-adic precision
Next by thread:
Re: boolean values for [] and List()
Index(es):
Date
Thread