[erlang-questions] [ANN] SeqBind, Sequential Binding Parse Transformation for Erlang (Experimental)

Yurii Rashkovskii yrashk@REDACTED
Sat Jan 14 20:54:23 CET 2012


Hi,

Problem
-------

Does it bother you that some of your code looks like this?

```erlang
 L1 = lists:map(fun (X) -> ... end, L),
 L2 = lists:filter(fun (X) -> ... end, L1)
 %% or
 {Q,Req1} = cowboy_http_req:qs_val(<<"q">>,Req),
 {Id,Req2} = cowboy_http_req:qs_val(<<"id">>,Req1)
```

Solution
------------

You can find out about it at https://github.com/spawngrid/seqbind

Thanks,
Yurii.



More information about the erlang-questions mailing list