Thinking about these ideas i was convinced to base my parser on sisc, which
enables defining 1+.
Bert
___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
> > The 1+ function exists is many lisp idioms of old, so this is
> > where it comes from. +1 cannot be an identifier: it is the number
> > 1.
>
> how about i+ ?
Or i++? Most programmers who use Lisp or Scheme are fluent in C
also...
Werner
___
Nicolas Sceaux wrote:
> Le 18 déc. 08 à 15:55, Han-Wen Nienhuys a écrit :
>
> > I guess we'll have to name it inc or something. Can you
> > talk to the GUILE guys about this to get some background?
>
> The 1+ function exists is many lisp idioms of old, so this
> is where it comes from. +1 cannot
Le 18 déc. 08 à 15:55, Han-Wen Nienhuys a écrit :
I guess we'll have to name it inc or something. Can you talk to the
GUILE guys about this to get some background?
The 1+ function exists is many lisp idioms of old, so this is where it
comes from.
+1 cannot be an identifier: it is the number 1
On 12/18/08 7:55 AM, "Han-Wen Nienhuys" wrote:
> I guess we'll have to name it inc or something. Can you talk to the
> GUILE guys about this to get some background?
>
> thanks!
Have we done any tests to find out how much a time difference is made using
1+ instead of + 1 ?
My guess is that
I guess we'll have to name it inc or something. Can you talk to the
GUILE guys about this to get some background?
thanks!
On Thu, Dec 18, 2008 at 12:53 PM, Bertalan Fodor (LilyPondTool)
wrote:
> Unfortunately +1 is neither an R5RS identifier.
>
> identifier: (letter|special_initial) subsequent
Unfortunately +1 is neither an R5RS identifier.
identifier: (letter|special_initial) subsequent* | + | - | ...
special_initial: ! | $ | % | & | * | / | : | < | = | > | ? | ^ | _ | ~
"In general, a sequence of letters, digits, and “extended alphabetic
characters” is an identifier when it begins
Can you also voice this concern on the guile devel list?
I think the reason the function exists is that is slightly more
efficient. Feel free to define a +1 function and change lily to use
it.
On Thu, Dec 18, 2008 at 11:21 AM, Bertalan Fodor (LilyPondTool)
wrote:
> Hi,
>
> I found that many pla
> I found that many places you use the procedure 1+. Besides that how
> ridiculous I think is to have a function that spares a "space" (1+
> instead of (+ 1, the real concern is that it doesn't conform to
> R5RS. R5RS doesn't allow identifiers to start with a number. I know
> that GUILE allows it
Hi,
I found that many places you use the procedure 1+. Besides that how
ridiculous I think is to have a function that spares a "space" (1+
instead of (+ 1, the real concern is that it doesn't conform to R5RS.
R5RS doesn't allow identifiers to start with a number.
I know that GUILE allows it (
10 matches
Mail list logo