On Monday, January 25, 2021 at 7:09:32 AM UTC-8 Nikos Apostolakis wrote:

> Dear Nils,
>
> [...] I think treating rational integers as integers is safe.  Actually 
> Sage does that
>
> sage: 8/2 in ZZ
> True
>
>
> So to have a function with integer input throw an error when you feed it a 
> rational integer, is surprising and counterintuitive.  To me at least.
>
> Ah right, Sage takes a rather liberal interpretation of "in" here: since 
the target is given, it's apparently read as "can 8/2 be converted to an 
integer". I'm neutral on what Words should do with its arguments.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/7dd1068b-c03b-4955-b550-7e45bb5252a3n%40googlegroups.com.

Reply via email to