General

Profile

aprescott (Adam Prescott)

  • Login: aprescott
  • Registered on: 04/07/2011
  • Last sign in: 10/14/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

04/13/2012

06:53 AM Ruby Feature #6284: Add composition for procs
See also:
http://web.archive.org/web/20101228224741/http://drmcawesome.com/FunctionCompositionInRuby
aprescott (Adam Prescott)

04/03/2012

04:23 AM Ruby Feature #6245: "is_integer?" method declaration in prelude
On Mon, Apr 2, 2012 at 19:58, regularlambda (Mahmut Bulut) <
mahmutbulut0@gmail.com> wrote:

> Dear Rubyists, can we add "is_integer?" method to our core for main
> purposes of checking integerITY?
>

is_foo? isn't idiomat...
aprescott (Adam Prescott)

04/01/2012

03:53 AM Ruby Feature #5673: undef_method probably doesn't need to raise an error
What about two methods, undef_method and undef_method!, one which returns a
boolean, one which raises?
aprescott (Adam Prescott)

03/30/2012

08:29 AM Ruby Bug #6226: Star operator crashes when it using in irb on Fedora
I cannot recreate this:

$ irb
irb(main):001:0> *a = 1
=> 1
irb(main):002:0> a
=> [1]
irb(main):003:0> # Ctrl-D pressed here

Just returns to prompt.

ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]
...
aprescott (Adam Prescott)

03/29/2012

11:53 PM Ruby Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
On Thu, Mar 29, 2012 at 14:39, Alex Young <alex@blackkettle.org> wrote:

> Would you argue that this is wrong and should be removed?
>
> 1.9.3p125 :001 > nil.to_a
> => []
>
> If not, why not?
>

Perhaps I wasn't cle...
aprescott (Adam Prescott)
10:29 PM Ruby Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
On Thu, Mar 29, 2012 at 13:25, rosenfeld (Rodrigo Rosenfeld Rosas) <
rr.rosas@gmail.com> wrote:

> Or for convenience we could allow nil to respond to each, like in Groovy:
>
> null.each {} // or eachWithIndex - doesn't throw ...
aprescott (Adam Prescott)
06:29 AM Ruby Feature #6219: Return value of Hash#store
On Wed, Mar 28, 2012 at 22:18, Adam Prescott <adam@aprescott.com> wrote:

> Assignment always returns the right hand side, so this isn't quite an
> accurate demonstration of #store.
>

Although, I should also mention, this i...
aprescott (Adam Prescott)

03/23/2012

09:53 AM Ruby Feature #3908: private constant
On Thu, Mar 22, 2012 at 23:46, trans (Thomas Sawyer) <transfire@gmail.com>wrote:

> But codifying that, rather than just documenting it, is bound to be more
> frustrating than useful.


Isn't that the point of trying to crac...
aprescott (Adam Prescott)
02:53 AM Ruby Feature #3908: private constant
On Thu, Mar 22, 2012 at 17:08, trans (Thomas Sawyer) <transfire@gmail.com>wrote:

> I can't think of single reason why anyone would actually have to have a
> "private", as opposed to a "public", constant. Constants are CONSTANT so...
aprescott (Adam Prescott)

12/05/2011

10:23 AM Ruby Feature #5478: Add syntax to import Set into core
On Sun, Dec 4, 2011 at 22:34, Joshua Ballanco <jballanc@gmail.com> wrote:

> Actually, the bulk of Set's functionality is already built on top of Hash.
> Personally, since the ability to create Hashes from comma-delimited
> key,...
aprescott (Adam Prescott)

Also available in: Atom