Higher Order Ruby Tom Crinson @MrJaba
Higher  Order  Programming?
Callbacks.  Dispatch Tables. Infinite Streams. (with just a smidge of Currying)
Callbacks
Dispatch  Tables
Infinite  Streams
Newton – Raphson Method
CURRYING lambda { |a, b, c| ... } lambda { |a| lambda { |b| lambda { |c| ... } } }
Image Credits: http://www.flickr.com/photos/motoyen/1386840251/sizes/o/in/photostream/ http://www.flickr.com/photos/robbn1...
Upcoming SlideShare
Loading in...5
×

Higher Order Ruby

1,649

Published on

A presentation I gave at Ipswich Ruby User Group on Higher Order programming with Ruby

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,649
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Higher Order Ruby

  1. 1. Higher Order Ruby Tom Crinson @MrJaba
  2. 2. Higher Order Programming?
  3. 3. Callbacks. Dispatch Tables. Infinite Streams. (with just a smidge of Currying)
  4. 4. Callbacks
  5. 5. Dispatch Tables
  6. 6. Infinite Streams
  7. 7. Newton – Raphson Method
  8. 8. CURRYING lambda { |a, b, c| ... } lambda { |a| lambda { |b| lambda { |c| ... } } }
  9. 9. Image Credits: http://www.flickr.com/photos/motoyen/1386840251/sizes/o/in/photostream/ http://www.flickr.com/photos/robbn1/4284266833/sizes/l/in/photostream/ http://www.flickr.com/photos/dps/136564771/ http://www.flickr.com/photos/bbaunach/398807056/sizes/o/in/photostream/ http://www.flickr.com/photos/thebrownhouse/4599233853/sizes/l/in/photostream/ Further Reading: http://blog.grayproductions.net/categories/higherorder_ruby Higher Order Perl – Mark Jason Dominus Code: http://github.com/mrjaba
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×