Thanks. [s|_0 + _1|]  = \x y->x+y is supported.  I simply like [s|_+_|] better personally.  And [s|_+_ı|] is for \x->x+x. I have to admit that 'ı' character is not very recognizable though. Any suggestions of another 'Letter, Lowercase' unicode character that no one would use as a variable name and can be easily input in vim are welcome.<br><br>At 2014-04-08 05:12:26,"Alois Cochard" <alois.cochard@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">In order to give a more constructive feedback, why not simply indexing arguments by position and use the `_N` syntax?<div><br></div><div>The second example would be:</div><div><pre style="white-space:pre-wrap;font-size:14px;line-height:23.799999237060547px">
_0 : _1 : _1 : _2 : _2 : _2 : _0 : []</pre><pre><font face="arial"><span style="white-space:normal">One could just use `_` if there is only one arg:</span></font></pre><pre><font face="arial"><span style="white-space:normal">_ + _ (which mean what Kim thought it would mean)</span></font></pre>
<pre><font face="arial"><span style="white-space:normal">and use:</span></font></pre><pre>_0 + _1 <span style="white-space:normal;font-family:arial">(for the case you wanted to support)</span></pre><pre><span style="white-space:normal;font-family:arial">Cheers</span></pre>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 April 2014 22:01, Alois Cochard <span dir="ltr"><<a href="mailto:alois.cochard@gmail.com" target="_blank">alois.cochard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just want to add that I find the syntax extremely confusing and counter intuitive.<div><br></div><div>
I thought it was just me, or that I was missed something. But it looks like I'm not the only one.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 7 April 2014 21:58, Kim-Ee Yeoh <span dir="ltr"><<a href="mailto:ky3@atamo.com" target="_blank">ky3@atamo.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 11:02 PM, ducis <span dir="ltr"><<a href="mailto:ducis_cn@126.com" target="_blank">ducis_cn@126.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="line-height:1.7;font-size:14px;font-family:arial">It lets your write lambdas with 'slots' without inventing names for the parameters.<br><pre>[s| ı + ı |]  =  \x y -> x+y</pre></div></blockquote></div>



<br></div></div><div class="gmail_extra">I have no background in this 'slot lambda' and a search reveals this package as the only hit.<br><br></div><div class="gmail_extra">Which may explain why I find the example given confusing. Why would [s| 1+1 |] not be equivalent to \x->x+x ?<span><font color="#888888"><br>



</font></span></div><span><font color="#888888"><div class="gmail_extra"><br><br><br clear="all"><div>-- Kim-Ee</div>
</div></font></span></div>
<br></div></div><div class="">_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><b>Alois Cochard</b></div><div><a href="http://aloiscochard.blogspot.com" target="_blank">http://aloiscochard.blogspot.com</a></div>
<div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div>
<div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><b>Alois Cochard</b></div><div><a href="http://aloiscochard.blogspot.com" target="_blank">http://aloiscochard.blogspot.com</a></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div>
<div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div>
</div>
</blockquote><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>