How about unary prefix? Are there such definable operators?

---------- Forwarded message ---------
From: eksperimental <[email protected]>
Date: Sun, May 15, 2016, 18:30
Subject: Re: [elixir-talk:13102] "Piping Partials" or "Implicit Argument"
Proposal
To: <[email protected]>



On Sun, 15 May 2016 22:25:20 +0000
Cristian Garcia <[email protected]> wrote:

> Since I was enumerating a Map, Alexei's suggestion works and its how I
> first though to write it but I wanted to be more concise. The concise
> version was however not very readable and got me thinking if Elixir
> could implement a curry operator.
>
> Are there any free unary operators you can implement yourself? A
> "curry-pipe" operator might be nice for my personal projects.

This was featured in Elixir Radar #39

Custom Infix Functions in Elixir
[ http://www.rodneyfolz.com/custom-infix-functions-in-elixir/ ]
Although Elixir does not support custom operators, it ships with a
handful of infix operators that are not used anywhere in the language.
Rodney Folz shows how to define and use them in your projects when
specific use cases may arise.

--
You received this message because you are subscribed to the Google Groups
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-talk/20160516063040.1ba3d276.eksperimental%40autistici.org
.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-talk/CAJJzUNyO5xqS%2BVFt-0RyD%2B_qVbEG27DAcg5-QezoLg37gQ6BbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to