|
From: | Ian Hulin |
Subject: | Strange error from %search-load-path via include-from-path when parameter is not a literal string |
Date: | Mon, 17 Oct 2011 19:20:45 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Hi, I'm trying to write a V2/V1 compatible function like the following: (define (ly:include the-file) (if (string>? (version) "1.9.10") (include-from-path the-file) (load-from-path the-file))) I get ERROR in procedure %search-load-path: Wrong type to apply in position 1 (expecting string): the-file. Bug or user error? (include-from-path) also gives similar errors at the REPL when the filename argument is not a literal string. Guile Version is 2.0.2 Cheers, Ian Hulin
[Prev in Thread] | Current Thread | [Next in Thread] |