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) <lilypondt...@organum.hu> wrote: > 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 with a character that cannot > begin a representation of a number object. In addition, +, -, and ... are > identifiers" > > > > Han-Wen Nienhuys wrote: > > 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) > <lilypondt...@organum.hu> wrote: > > > 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 (I wonder why). > But my Scheme parser (Julie) is stricter then Guile in this sense, so it > won't be able to parse LilyPond-supported SCM files. I want to parse them. > Could you change the (1+ calls to (+ 1? > > It's just a question about your opinion. > > Bert > > > > _______________________________________________ > lilypond-devel mailing list > lilypond-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-devel > > > > > -- Han-Wen Nienhuys - han...@xs4all.nl - http://www.xs4all.nl/~hanwen _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel