<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for manveru</title><link>http://disqus.com/by/manveru/</link><description></description><atom:link href="http://disqus.com/manveru/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 08 Dec 2012 07:42:11 -0000</lastBuildDate><item><title>Re: From Ruby to Haskell, Part 1: Testing | The Bendyworks Blog | Bendyworks | Ruby on Rails, iOS, &amp; Clojure Consultants | Madison, WI</title><link>http://bendyworks-production.herokuapp.com/geekville/articles/2012/12/from-ruby-to-haskell-part-1-testing#comment-731009549</link><description>&lt;p&gt;You can use currying in Ruby as well, even though it looks a lot nicer in Haskell.&lt;/p&gt;&lt;p&gt;    c = 100.method(:&amp;gt;).to_proc.curry(1)&lt;br&gt;    (1..1/0.0).take_while{|n| c.(n) }&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manveru</dc:creator><pubDate>Sat, 08 Dec 2012 07:42:11 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/rklemme/001-Using_blocks_for_Robustness.html</title><link>http://blog.rubybestpractices.com/posts/rklemme/001-Using_blocks_for_Robustness.html#comment-8197331</link><description>&lt;p&gt;Thanks, that's a nice article.&lt;br&gt;I cannot even remember since when I started using blocks to make code easier readable, but putting an emphasis on the robustness is another very good way to advocate their usage.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manveru</dc:creator><pubDate>Tue, 14 Apr 2009 11:22:39 -0000</pubDate></item><item><title>Re: Thinking out of the Box with Enumerable#inject</title><link>http://advent2008.hackruby.com/past/2008/12/11/thinking_out_of_the_box_with_enumerableinject/#comment-4321178</link><description>&lt;p&gt;This works since 1.8.7, quite handy:&lt;/p&gt;&lt;p&gt;(1..100).inject(:+)&lt;br&gt;# 5050&lt;br&gt;(1..100).inject(4950, :+)&lt;br&gt;# 10000&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manveru</dc:creator><pubDate>Wed, 10 Dec 2008 21:34:21 -0000</pubDate></item></channel></rss>