Re: Strange (buggy) Scheme assignment
Ok, thanks, should I create patches for these cases - there are some in the declarations? Anyway I wonder how guile could accept these. Bert > --- Original Message --- > From: Nicolas Sceaux <[EMAIL PROTECTED]> > To: Bertalan Fodor <[EMAIL PROTECTED]> > Sent: 08/01/23/, 21:45:25 > Subject: Re: Strange (buggy) Scheme assignment > > Le 23 janv. 08 à 21:08, Bertalan Fodor a écrit : > > > Yes, it's a vector, but is it a standalone expression? > > The guile page says: > > > > Like lists, vectors have to be quoted: > > > > '#(a b c) => #(a b c) > > > Indeed, my mistake. The examples later on the guile documentation > use quoted sharp-paren expressions. Vectors are not self evaluating > according to R5RS 7.1.3: > --> | | | > > So in LilyPond literal vectors should be quoted: > aikenHeads = \set shapeNoteStyles = #'#(do re mi fa #f la ti) > > Nicolas > > > ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Strange (buggy) Scheme assignment
Le 23 janv. 08 à 21:08, Bertalan Fodor a écrit : Yes, it's a vector, but is it a standalone expression? The guile page says: Like lists, vectors have to be quoted: '#(a b c) => #(a b c) Indeed, my mistake. The examples later on the guile documentation use quoted sharp-paren expressions. Vectors are not self evaluating according to R5RS 7.1.3: --> | | | So in LilyPond literal vectors should be quoted: aikenHeads = \set shapeNoteStyles = #'#(do re mi fa #f la ti) Nicolas ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Strange (buggy) Scheme assignment
Yes, it's a vector, but is it a standalone expression? The guile page says: Like lists, vectors have to be quoted: '#(a b c) => #(a b c) > --- Original Message --- > From: Nicolas Sceaux <[EMAIL PROTECTED]> > To: Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]> > Sent: 08/01/23/, 20:04:06 > Subject: Re: Strange (buggy) Scheme assignment > > Le 23 janv. 08 à 16:26, Bertalan Fodor (LilyPondTool) a écrit : > > > Hi, > > > > in property-init.ly I found this: aikenHeads = \set shapeNoteStyles > > = ##(do re mi fa #f la ti) > > That seems to be a vector definition in Scheme: #(do re mi fa #f la > > ti) > > However, it is not a valid Scheme expression, at least according to > > its formal grammar and the online Scheme interpreter, > > http://sisc-scheme.org/sisc-online.php > > > > It's a valid guile scheme expression, according to: > > http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Vector-Syntax.html > > > > ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Strange (buggy) Scheme assignment
Le 23 janv. 08 à 16:26, Bertalan Fodor (LilyPondTool) a écrit : Hi, in property-init.ly I found this: aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti) That seems to be a vector definition in Scheme: #(do re mi fa #f la ti) However, it is not a valid Scheme expression, at least according to its formal grammar and the online Scheme interpreter, http://sisc-scheme.org/sisc-online.php It's a valid guile scheme expression, according to: http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Vector-Syntax.html ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel