[Ironruby-core] Fixnum Patch

Brian J. Cardiff bcardiff at gmail.com
Wed Dec 12 08:55:34 EST 2007


On Dec 11, 2007 12:19 PM, Peter Bacon Darwin <bacondarwin at googlemail.com> wrote:
>
>
> ·         A number of methods, notably BignumOps.Compare, now return an
> object rather than a Float (int).  This is because these methods sometimes
> are expected to return nil (null).
>

wouldn't be better to use nullable types? So, for example, it would be
clear that the result is either null or int, and there is not
propagation of casts.

-- 
Brian J. Cardiff
bcardiff(?)gmail.com
.


More information about the Ironruby-core mailing list