[erlang-questions] alternate forms for comparisons >= and =<
Wed Mar 26 09:30:38 CET 2008
On Wed, Mar 26, 2008 at 8:59 AM, Dmitrii Dimandt <dmitriid@REDACTED> wrote:
> On Mar 26, 2008, at 4:09 AM, Richard A. O'Keefe wrote:
> > On 23 Mar 2008, at 1:35 pm, Dave Peticolas wrote:
> >> I keep finding myself using <= and => almost pathologically no matter
> >> how many times I have to go back and change them to their only
> >> supported
> >> versions. Is adding support for <= and => a possibility? I'd be
> >> willing
> >> to do the work, with some guidance.
> > In Prolog syntax, <= and => were reserved for arrows, and were used
> > heavily in that role. Strand copied Prolog and Erlang copied Strand.
> > I can think of lots of possible uses for arrows in Erlang, so I'd be
> > sorry to see them degenerate into mere alternatives for =< and >=.
> > In fact as someone *reading* Erlang, I would be very sorry to see any
> > alternatives for the standard comparison operators; there are already
> > confusingly many versions of equality.
> By the way, is there a page in the manual that describes all operators
> in Erlang and their uses? Because I'm often confused as to how to
> write equality, inequality etc.
> erlang-questions mailing list
--Hynek (Pichi) Vychodil
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions