On Tue 07 Jan 2020 21:00, Stefan Israelsson Tampe <stefan.ita...@gmail.com> 
writes:

> Bump!
>
> Great, but loading an extension like:
>
> (catch #t
>   (lambda ()
>     (throw #t)
>     (load-extension "libguile-persist" "persist_init") (pk 1))
>   (lambda x      
>     (let ((file  
>            (%search-load-path "src/.libs/libguile-persist.so")))
>       (if 
>        file
>        (catch #t
>          (lambda ()          
>            (load-extension file "persist_init"))
>          (lambda x
>            (warn
>             "libguile-persist is not loadable!")))
>        (warn 
>         "libguile-persist is not present, did you forget to make it?")))))
>
> And then have  line like
>
> (pk 5 serialize-vm-ra)
>
> Loading this module prints
> (5 #f)
>
> Worked in releases before.

Surely this test case can be shortened?  All the load-extension bits
appear to not be necessary, right?

Andy

Reply via email to