Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8917

Re: prefix notation question

From Jussi Piitulainen <jpiitula@ling.helsinki.fi>
Newsgroups comp.lang.java.programmer
Subject Re: prefix notation question
Date 2011-10-17 18:10 +0300
Organization University of Helsinki
Message-ID <qotty77wt5o.fsf@ruuvi.it.helsinki.fi> (permalink)
References (2 earlier) <0142e456-9e9a-4f71-adaa-5ea9cad35427@u9g2000vby.googlegroups.com> <qotbotg5c7i.fsf@ruuvi.it.helsinki.fi> <7889cbdf-4b32-413f-bae0-daea3814e85a@f13g2000vbv.googlegroups.com> <ae7f17fd-8825-4c5c-a185-0abed998aea5@a12g2000vbz.googlegroups.com> <0135959f-5846-4869-9c5a-dd08998015e9@u13g2000vbx.googlegroups.com>

Show all headers | View raw


Chad writes:
> On Oct 17, 7:45 am, Chad wrote:
...
> > I mean, what happened to (+3)? This obviously has to be account
> > for somewhere.
> 
> Never mind. I was one again experiencing a brain lapse.

:-)

You _can_ add one number together.

Even no numbers! (+) would be 0, the additive identity element, and
(*) would be 1, the multiplicative identity element.

(However, (+3) looks jarring for the users of those other languages.
Make it (+ 3), with the space between the operator and operand.)

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

prefix notation question Chad <cdalten@gmail.com> - 2011-10-16 20:15 -0700
  Re: prefix notation question Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-10-16 20:46 -0700
    Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-16 20:58 -0700
      Re: prefix notation question Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-10-16 23:38 -0700
      Re: prefix notation question Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2011-10-17 10:06 +0300
        Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-17 07:39 -0700
          Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-17 07:45 -0700
            Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-17 07:50 -0700
              Re: prefix notation question Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2011-10-17 18:10 +0300
                Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-18 15:30 -0700
                Re: prefix notation question Roedy Green <see_website@mindprod.com.invalid> - 2011-10-18 19:40 -0700
  Re: prefix notation question Roedy Green <see_website@mindprod.com.invalid> - 2011-10-18 19:36 -0700

csiph-web