On Wed, 6 Apr 2005, Saynatkari wrote:

> I, I think that is a good idea. On the other hand, I also think that
>
> def foo(x)
>  do_something_with x
> end
>
> Should be syntactic sugar for
>
> def(:name => :foo,
>    :bind => binding,
>    :body => {|x| do_something_with x}
>   )
>
> Then again, the current system works well too :)

Nah, your suggestion is much better. [(let f (lambda ...))]

This is the thing that kills me about ruby, and makes it a very
difficult language to learn well: all the stupid "tricks" you need to
learn, at great pain and expense.

For example: explain the results of these two programs to me:

----------
     def do_me_harder
 	puts "Oh yes!"
     end

     puts do_me_harder
----------
     module Foo

 	def do_me_harder
 	    puts "Oh yes!"
 	end

 	puts do_me_harder
     end
----------

cjs
-- 
Curt Sampson  <cjs / cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
      Make up enjoying your city life...produced by BIC CAMERA