[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: idea: create module
From: |
Thien-Thi Nguyen |
Subject: |
Re: idea: create module |
Date: |
Tue, 25 Apr 2006 03:09:53 -0400 |
From: "Jon Wilson" <address@hidden>
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