On Fri, Jun 22, 2012 at 7:48 PM, Ronan Lamy <[email protected]> wrote: > 2012/6/22 Sergiu Ivanov <[email protected]>: > >> I am still a little bit surprised that there is no type in SymPy to >> store True and False. However, if there is a reason for such a class >> not to exist, I wonder whether allowing True and False in FiniteSet >> would be totally consistent. > > Creating True and False sympy objects has been discussed: > http://code.google.com/p/sympy/issues/detail?id=2531
Great, thank you! However, both the discussion on the issue and in the thread linked from one of the comments seems incomplete. > I've actually tried to implement these but I couldn't disentangle the cases > where builtin True and False are legitimately used as builtins from those > where they stand for symbolic truth/falsity. I see. That sounds like a hard problem indeed. Therefore, I ask yet another question. Why would one need to store True's and False's in a FiniteSet? I can't imagine at the moment, but that's maybe just me. Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
