[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [frogs] display-lily.scm question
From: |
Patrick McCarty |
Subject: |
Re: [frogs] display-lily.scm question |
Date: |
Wed, 27 Oct 2010 22:32:19 -0700 |
Hi Ian,
On Wed, Oct 27, 2010 at 2:31 PM, Ian Hulin <address@hidden> wrote:
>
> I've just done some stuff with this file to ensure it compiles OK when
> running using Guile V1.9.
>
> It declares all it stuff in a module (define-module (scm dislplay-lily)
>
> It currently gets loaded by lily.scm as part of the dynamic load list
> near the end of the file. However, things declared as modules for use
> in the base 'lily' module are pulled in via a (use-modules) statement
> near the start of the file.
>
> Should display-lily.scm move from the ly:load list to the (use-modules)
> list?
I'm a bit confused by this question...
As I understand it, module (scm display-lily) is loaded via
(use-modules ...) in music-functions.scm, on line 216.
So, when the Guile 1.9 scheme compiler compiles music-functions.scm,
it compiles display-lily.scm automatically at that point.
Then, at the bottom of display-lily.scm,
define-music-display-methods.scm is loaded.
Is this the spot you are asking about?
Thanks,
Patrick
PS. I can't review your latest curried-definitions patch until this
weekend, at the earliest. Sorry about that.