Hi,

Richard Shann <richard.sh...@virgin.net> writes:

> I wonder if anyone knows of a method to extract a list of top-level
> procedure definitions from a string?

You can use ‘module-for-each’:

  (module-for-each (lambda (name var)
                     (format #t "variable `~A', value `~s'~%" name
                             (variable-ref var)))
                   (resolve-interface '(the denemo module)))

Is it what you’re looking for?

Thanks,
Ludo’.



Reply via email to