Thank you for the proposal.
Some would already say the capture syntax is already too concise (and they
would always prefer fn instead), and the proposal would introduce ambiguity
to them, given that &2 would have different meanings depending on where it
is located. One of the big rules in Elixir i
The lambdas I want to be able to create using short notation are in the
second block of code in the original posting. They are slightly less
obvious than & &1 + 1.
As far as I understand, there's no way to compose them using short form,
unless I'm missing something. The idea to supply a number of
Hey Ivan,
You're just missing the introductory &
iex(1)> & &1 + 1
#Function<42.105768164/1 in :erl_eval.expr/6>
On Wednesday, August 21, 2024 at 2:03:24 AM UTC-4 ivan.y...@gmail.com wrote:
> I realize it might be controversial, but I truly enjoy short form lambdas
> in any language I touch and