Hi,

Tomas Volf <~@wolfsden.cz> skribis:

> Timo Wilken <g...@twilken.net> writes:

[...]

>> +                   (format #f "(or (false-if-exception (load-extension 
>> \"~a/lib/guile/3.0/libguile-yamlpp\"~a)) ~a)"
>> +                           (assoc-ref outputs "out") init all))))))))
>
> I am not sure it is optimal to hide *all* errors from load-extension.
> Maybe check if file exists and then try to load-extension it without the
> false-if-exception?

Or just unconditionally load from the absolute file name?  I don’t see
what the ‘or’ buys us.

Thanks,
Ludo’.



Reply via email to