More information on Ruby and functional programming?

247 views
Skip to first unread message

Dan Kubb (dkubb)

unread,
Jan 9, 2012, 5:52:52 PM1/9/12
to Ruby and functional programming
I just wanted to share my favorite post on this subject:

http://www.harukizaemon.com/2010/03/functional-programming-in-object-oriented-languages.html

This design greatly influenced my own work on Veritas (http://
github.com/dkubb/veritas) which I'll post more about later on.

Are there other good sources of information or libraries out in the
wild on the subject?

--

Dan
(dkubb)

Rafael de F. Ferreira

unread,
Jan 10, 2012, 11:25:03 AM1/10/12
to rubyf...@googlegroups.com
I know next to nothing about its current status or feature-set, but I just stumbled upon this functional data-structures library: https://github.com/harukizaemon/hamster

The context was this post by the author, which is potentially interesting for this list: http://www.harukizaemon.com/2009/12/why-object-oriented-language-need-tail-calls.html

Cheers
--
Rafael de F. Ferreira.

Robert Pitts

unread,
Jan 10, 2012, 12:11:25 PM1/10/12
to Ruby and functional programming
Here are my notes from a lightning talk I did at this year's SCNA
related to bootstrapping an object system in Ruby using closures.

Pretty basic stuff for the FP crowd, but maybe of interest to some :)

Here's a good series of (old!) blog posts about implementing monadic
patterns in Ruby: http://moonbase.rydia.net/mental/writings/programming/monads-in-ruby/00introduction.html

I'll dig around through my bookmarks for more :)

https://gist.github.com/1372131#file_objects_as_closures_v2.md

On Jan 9, 5:52 pm, "Dan Kubb (dkubb)" <dan.k...@gmail.com> wrote:
> I just wanted to share my favorite post on this subject:
>
>  http://www.harukizaemon.com/2010/03/functional-programming-in-object-...
Reply all
Reply to author
Forward
0 new messages