From: Nicholas Van Weerdenburg Date: 2004-07-15T07:42:31+09:00 Subject: Re: Functional Ruby (Re: Why I don't use Ruby.) gabriele renzi wrote: >>In Ruby, would it be possible to extend "def" and maybe introduce a >>feature called "func" that adds some extra rules to what can be coded? >> >> > >why? :) > > > With all the discussion of what makes a functional programming language, I was wondering if you could extend Ruby syntax to enable a purely functional mode. Not that I expect that it would practical, but it goes to the problem of domain specific languages in general- e.g. if you wanted to do lambda calculus in the abstract in Ruby. The other reason I asked was because I was wondering if Ruby could be extended this way in order to improve my understanding of Ruby. Thanks, Nick