From: James Edward Gray II Date: 2004-09-30T07:53:49+09:00 Subject: Re: Math Tricks On Sep 29, 2004, at 5:27 PM, Mark Hubbart wrote: > The other questions were answered pretty well, so I'll just answer the > last one. You can either use the semicolon, or specify an empty > parameter list: > > def add; return binary { |l, r| l + r } end > def add() return binary { |l, r| l + r } end > > The empty parameter list looks cleaner, imho, though it *is* one > character longer. Thanks to all for the help. James Edward Gray II