On Fri, Sep 19, 2014 at 1:52 PM, Aaron Meurer wrote:
> On Fri, Sep 19, 2014 at 9:20 AM, James Crist wrote:
>>> it looks like in the first example that the expression is returned
>>> directly while in the second case it is not(?)
>>
>>
>> Ideally, for routines with one expr, `routine` and `routine
On Fri, Sep 19, 2014 at 9:20 AM, James Crist wrote:
>> it looks like in the first example that the expression is returned
>> directly while in the second case it is not(?)
>
>
> Ideally, for routines with one expr, `routine` and `routine[0]` will be
> identical. Not sure if this is possible, and I
>
> it looks like in the first example that the expression is returned
> directly while in the second case it is not(?)
Ideally, for routines with one expr, `routine` and `routine[0]` will be
identical. Not sure if this is possible, and I may decide that's too much
magic. The main purpose behind
The assumptions system will try to call `_eval_is_foo` if it exists for the
object. So if you add definitions for ``_eval_is_integer` to your Routine
object you can return the value of `is_integer` for the return value. I
suspect there will be issues with how you define Routine, however, since i