Hi all,
I just had a random idea, and thought I'd run it by y'all.  What if you
could compose modules from the REPL, and then write them to a file? 
Something like:

(define mod (make-module (my modulename)))
(define f1 (lambda () (display "f1")))
(define value 7)
(add-export mod f1 value)
(write-module-file "my_modulename.scm")

With my luck, something like this probably already exists and I'm just
too stupid to have found it, but I think it would make module writing
easier.

Perhaps also you could load an existing module, and then make
modifications to it, and then write it to a file as well.

Thoughts?
Regards,
Jon
-- 
  Jon Wilson
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to