<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I wrote a blog post about this a while back: <a href="https://medium.com/erlang-battleground/list-incomprehensions-ec504ec927c5" class="">https://medium.com/erlang-battleground/list-incomprehensions-ec504ec927c5</a><div class="">Cheers! :)<br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><span id="docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad" class=""><span style="font-size: 11pt; font-family: Arial; font-weight: 700; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;" class=""><br class="Apple-interchange-newline"><hr class=""></span></span><div class=""><b class=""><i class=""><a href="http://about.me/elbrujohalcon" class="">Brujo Benavides</a></i></b></div></div></div><div style="color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><b class=""><br class=""></b></div><br class="Apple-interchange-newline">
</div>
<div style=""><br class=""><blockquote type="cite" class=""><div class="">On 13 Jun 2018, at 14:08, Frans Schneider <<a href="mailto:fchschneider@gmail.com" class="">fchschneider@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear list,<br class=""><br class="">Just stumbled over some code using the following construct:<br class=""><br class="">  [do_something(X) || X /= 1, X /= 3]<br class=""><br class="">Works rather nice, but is this considered good programming? I think it is called "list comprehension with no generator" and has to do something with OTP-7846.<br class=""><br class="">Frans<br class="">_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></div></blockquote></div><br class=""></div></body></html>