Issue #6242 has been reported by shugo (Shugo Maeda). ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-01 05:18
on 2012-04-01 07:10
Issue #6242 has been updated by shugo (Shugo Maeda). File list2.diff added Updated the patch to evaluate `x ::: y' as `y.:::(x)', not `x.:::(y)'. ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25567 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-01 16:15
Issue #6242 has been updated by shugo (Shugo Maeda). File list3.diff added Updated the patch to add methods: foldl, foldr, +, flatten/concat, map, flat_map/concat_map, filter, length/size, sum, reverse. ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25568 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-01 21:07
Issue #6242 has been updated by drbrain (Eric Hodel). I have heard Ruby is a LISP too: http://www.jwz.org/blog/2012/03/haters-gonna-hate-... ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25574 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-02 02:00
Issue #6242 has been updated by shugo (Shugo Maeda). drbrain (Eric Hodel) wrote: > I have heard Ruby is a LISP too: > > http://www.jwz.org/blog/2012/03/haters-gonna-hate-... Thanks for the information. I forgot to propose macros. But the following comment reminded me that Ruby was originally Smalltalk, not a LISP. http://www.jwz.org/blog/2012/03/haters-gonna-hate-... I'm afraid this issue might be rejected. ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25577 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-02 02:16
Issue #6242 has been updated by xds2000 (deshi xiao). Hi,shugo What benefits of the proposed lisp changed? I am very confuse this LISP list feature. your sample is very similar with native ruby Hash in my options. ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25578 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-02 03:40
Issue #6242 has been updated by drbrain (Eric Hodel). shugo (Shugo Maeda) wrote: > But the following comment reminded me that Ruby was originally Smalltalk, not a LISP. > > http://www.jwz.org/blog/2012/03/haters-gonna-hate-... > > I'm afraid this issue might be rejected. Maybe we should propose a free ":" after method names for keyword arguments in a separate issue, like: open: "file.txt", mode: "r+", encoding: Encoding::UTF_8 do |io| # … end Then we can have the best of LISP and Smalltalk ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25580 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-02 03:56
On Mon, Apr 02, 2012 at 09:14:30AM +0900, xds2000 (deshi xiao) wrote: > > Issue #6242 has been updated by xds2000 (deshi xiao). > > > Hi,shugo > What benefits of the proposed lisp changed? I am very confuse this LISP list feature. your sample is very similar with native ruby Hash in my options. Hi, this is a joke ticket for April fool's day. Don't take it too seriously! :-) https://img.skitch.com/20120402-bt88qqb8jitx92kqyu...
on 2012-04-02 03:57
Issue #6242 has been updated by shugo (Shugo Maeda). xds2000 (deshi xiao) wrote: > Hi,shugo > What benefits of the proposed lisp changed? I am very confuse this LISP list feature. your sample is very similar with native ruby Hash in my options. ∧,,∧ (,,・∀・) You should say "Array", not "Hash"! ~(_u,uノ ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25584 Author: shugo (Shugo Maeda) Status: Open Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-04-02 04:06
On Mon, Apr 02, 2012 at 10:56:47AM +0900, shugo (Shugo Maeda) wrote:
> ~(_u,uノ
(ノಠ益ಠ)ノ彡┻━┻
on 2012-04-02 04:40
shugo (Shugo Maeda) wrote: > > But the following comment reminded me that Ruby was originally Smalltalk, not a LISP. > > http://www.jwz.org/blog/2012/03/haters-gonna-hate-... I used to think so too, until I saw this: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/... Clearly Ruby has been a stealth-Lisp all along. :)
on 2012-04-02 04:53
On Sunday, April 1, 2012 at 10:40 PM, Bill Kelly wrote: > > Clearly Ruby has been a stealth-Lisp all along. > Ah! Our old friend Pascal… I remember him well. I ran across him not to long ago. Seems he's moved on to Lua now: http://article.gmane.org/gmane.comp.lang.lua.gener... :)
on 2012-04-02 16:14
Issue #6242 has been updated by mame (Yusuke Endoh). Status changed from Open to Rejected April fools' day ended. Thanks. -- Yusuke Endoh <mame@tsg.ne.jp> ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-25603 Author: shugo (Shugo Maeda) Status: Rejected Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-07-12 11:07
Issue #6242 has been updated by formalbridal (formalbridal bridal). http://www.formalbridal.co.uk/96-wedding-dresses-2012 You would be all the heroine if you buy formal dresses and so the girls are ready to spend their funds on merchandise, hair styling, in addition to make-up. ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-27975 Author: shugo (Shugo Maeda) Status: Rejected Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-09-27 08:05
Issue #6242 has been updated by jamesw (James Owen). even i guess so Ruby is a LISP http://www.leatherfads.com/leather-jacket.aspx ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-29758 Author: shugo (Shugo Maeda) Status: Rejected Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2012-11-20 07:33
Issue #6242 has been updated by wing (wing blair). http://www.squidoo.com/iDateAsia http://www.flickr.com/photos/idateasia http://pinterest.com/idateasia/ http://idateasia.tumblr.com ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-33172 Author: shugo (Shugo Maeda) Status: Rejected Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2013-04-27 11:51
Issue #6242 has been updated by sumit (sumit ghosh). I doubt that ruby is LISP. http://www.ifeel.edu.in ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-38954 Author: shugo (Shugo Maeda) Status: Rejected Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
on 2013-04-28 10:00
Issue #6242 has been updated by jasonsmith (jason smith). List processing is a draw back?? http://www.venkotech.com ---------------------------------------- Feature #6242: Ruby should support lists https://bugs.ruby-lang.org/issues/6242#change-38991 Author: shugo (Shugo Maeda) Status: Rejected Priority: Normal Assignee: Category: Joke Target version: 2.0.0 I've heard that Ruby is a LISP. LISP stands for "LISt Processing." Hence, Ruby should support lists. I've attached a patch to add the classes List and Cons, and the cons operator `:::'. Example: >> S[1,2,3].inject(:+) => 6 >> S[1,2,3] => S[1, 2, 3] >> 0 ::: S[1,2,3] => S[0, 1, 2, 3] >> 0 ::: 1 ::: 2 ::: 3 ::: nil => S[0, 1, 2, 3] >> S[1,2,3].inject(:+) => 6
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.