General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

04/25/2017

03:12 PM Ruby trunk Feature #13495: add Range#count as an alias to Range#size
Sorry, I got confused. `Enumerator` has a `size` method, not `Enumerable`.
05:14 AM Ruby trunk Feature #13495: add Range#count as an alias to Range#size
PS: "Enumerable does not have size" is incorrect. `Enumerable` have a `size` method, although it may return `nil` if ...
05:11 AM Ruby trunk Feature #13495 (Rejected): add Range#count as an alias to Range#size
`size` calculates the size lazily, without enumerating. If it can't, it returns `nil`.
`count` calculates the size b...

03/29/2017

02:59 PM Ruby trunk Bug #8894 (Closed): Fixnum#quo returns wrong result when given a float

03/16/2017

06:46 PM Ruby trunk Feature #13208: Vector.zero(n) and vector.zero?
Martin is exactly right. See https://en.wikipedia.org/wiki/Vacuous_truth

03/14/2017

08:11 PM Ruby trunk Feature #13208 (Closed): Vector.zero(n) and vector.zero?
08:11 PM Ruby trunk Feature #13208: Vector.zero(n) and vector.zero?
Thanks for the patch.
Committed.
PS: I allowed `Vector.zero(0)`.
08:06 PM Ruby trunk Feature #5481: Gemifying Ruby standard library
I'd like to gemify matrix & ostruct, but it's not clear to me what needs to be done besides creating the gemspec and ...

02/12/2017

10:58 PM Ruby trunk Feature #13208: Vector.zero(n) and vector.zero?
Looks good.
I think the short description is probably good enough. The example makes it clear if someone has doubt...

02/11/2017

02:03 AM Ruby trunk Bug #13187 (Third Party's Issue): In rails console ,excute "User.all" or "User.new",remind a bugr...

Also available in: Atom