From: "Jon Wilson" <[EMAIL PROTECTED]>
   Date: Mon, 24 Apr 2006 18:31:55 -0700

   (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")

you can use `define-module' in a repl.  run the repl in an emacs buffer
and it's a SMOP to filter out prompts and output on `C-x C-w' (to start,
see `write-contents-hooks' and friends).

thi


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

Reply via email to