[erlang-questions] Recless

Yariv Sadan yarivvv@REDACTED
Wed Oct 11 23:32:50 CEST 2006


Hi,

I created an experimental parse transform that uses type inference to
simplify record access and manipulation syntax. For example, it lets
you write this:

   NewProject = Project.owner.address.city = 'Boston'.

instead of this:

   NewProject =
       Project#project{owner =
        (Project#project.owner)#person{address =
          ((Project#project.owner)#person.address)#address{city =
            'Boston'}}}.

Recless is about 75% finished, but before I sink any more time into
it, I would like to ask the Erlang community members for their
feedback. Is this something you want? Do you see any substantial
dangers for conflict with the standard Erlang syntax?

The full story is here
http://yarivsblog.com/articles/2006/10/11/recless-a-type-inferring-parse-transform-for-erlang-experimental

Best regards,
Yariv



More information about the erlang-questions mailing list