[eeps] New EEP draft: -discontiguous declaration

Daniel Goertzen dang@REDACTED
Fri May 27 15:41:08 CEST 2011


I like this very much.  If there's a parse transform .hrl that will do this,
I will use it today.

I also have a need for "topic-oriented programming".  A work around that I
almost went with was...


big_ugly_f({get_com, #tree ...}) -> ...
big_ugly_f({set_com, #tree ...}) -> ...

big_ugly_f({get_com, #wrapper ...}) -> ...
big_ugly_f({set_com, #wrapper ...}) -> ...


... but I just couldn't go through with it in the end.


Dan.

On Fri, May 27, 2011 at 2:51 AM, <ok@REDACTED> wrote:

> Amongst other things,
> f(...) -> ...;
> -if(...).
> f(...) -> ...;
> -endif.
> f(...) -> ... .
> does not work.  By stealing an idea from Grandfather Prolog,
> we can fix that.
>
>
> _______________________________________________
> eeps mailing list
> eeps@REDACTED
> http://erlang.org/mailman/listinfo/eeps
>
>


-- 
Daniel Goertzen
-----------------
dang@REDACTED (work)
daniel.goertzen@REDACTED (home)
-----------------
1 204 272 6149 (home/office)
1 204 470 8360 (mobile)
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/eeps/attachments/20110527/1f2b5838/attachment.htm>


More information about the eeps mailing list