[erlang-questions] Funargs: Ruby-like blocks for Erlang

Tony Arcieri tony.arcieri@REDACTED
Thu Jul 21 22:43:44 CEST 2011

On Thu, Jul 21, 2011 at 12:29 PM, Deryk Barker <dbarker@REDACTED>wrote:

> Before the Ruby-istas get too boastful, arent' Ruby blocks essentially the
> same as Smalltalk blocks?

There are definitely similarities between Ruby and Smalltalk blocks and the
former was inspired by the latter, however the syntax is different. I
implemented the Ruby syntax here, hence the comparison to Ruby. Obviously
what I've implemented here doesn't have the same semantics as either Ruby or
Smalltalk blocks. It's just syntactic sugar (or syntactic vomit, depending
on your opinion)

Tony Arcieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110721/dabff269/attachment.htm>

More information about the erlang-questions mailing list