[erlang-questions] Human readable errors in lists module
Sat Feb 14 09:40:51 CET 2009
Yes, I caught that after having posted. I thought I had
already commented on that, but perhaps it didn't go to the list?
Oh, well... I posted a suggestion on this a while ago:
2009/2/13 Zvi <>:
> I was talking about parallel-comprehensions aka zip-comprehensions, not
> parallelized comprehensions:
> Ulf Wiger (TN/EAB) wrote:
>> Zvi skrev:
>>> I think instead of "fixing" lists:zipwith, it's better to add
>>> parallel list comprehensions, i.e.:
>>> lists:zipwith(F, Xs, Ys) = [F(X,Y) || X<-Xs ; Y<-Ys].
>>> Note ";" instead of ",".
>> This is actually more difficult than it seems
>> at first glance.
>> I went through parallelization of lists:map/2
>> as an exercise in a recent presentation:
>> The things that need careful consideration are
>> side-effects and exceptions. It's not obvious how
>> a generic implementation should behave, as there is
>> a cost/safety tradeoff.
>> Ulf W
>> erlang-questions mailing list
> View this message in context: http://www.nabble.com/Human-readable-errors-in-lists-module-tp21936024p21998151.html
> Sent from the Erlang Questions mailing list archive at Nabble.com.
> erlang-questions mailing list
More information about the erlang-questions