help-gnu-music
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Functions


From: Han-Wen Nienhuys
Subject: Functions
Date: Sun, 18 Feb 2001 22:11:37 +0100

address@hidden writes:
> How do lily fonctions work?
> I cannot find any documentation about it...
> I see a lot of lambda's in the examples... What are they?
> 
> Stem \override #'beamed-minimum-lengths = #(map (lambda (x) (* 0.8 x))
> '(0.0 2.5 2.0 1.5))
> 
> This is nonsense for me. Is it documented anywhere?

This is Scheme code. Try running guile:

        blauw:~$ guile
        guile> (map (lambda (x) (* 0.8 x)) '(0.0 2.5 2.0 1.5))
        (0.0 2.0 1.6 1.2)

-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]