[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: module questions
- To: Michael Vanier <mvanier@bbb.caltech.edu>
- Subject: Re: module questions
- From: Matthew Flatt <mflatt@cs.utah.edu>
- Date: Wed, 2 Jan 2002 14:20:33 -0700 (MST)
- CC: plt-scheme@fast.cs.utah.edu
- In-Reply-To: <20011231041136.9BA635E0ED@sith.bbb.caltech.edu>
- References: <20011228084333.D6FC85E0ED@sith.bbb.caltech.edu><20011228135708.D467C206FC@sualocin.ccs.neu.edu><20011229045552.C74D05E0ED@sith.bbb.caltech.edu><15405.20970.837068.682480@mojave.cs.cornell.edu><20011229053102.A7AEC5E0ED@sith.bbb.caltech.edu><15405.23818.125535.741602@mojave.cs.cornell.edu><20011230041143.071D25E0ED@sith.bbb.caltech.edu> <15407.41483.381848.260915@mojave.cs.cornell.edu> <20011231041136.9BA635E0ED@sith.bbb.caltech.edu>
- Sender: owner-plt-scheme@fast.cs.utah.edu
Quoting Michael Vanier:
> What I want to do would look something like this:
>
> (module foo mzscheme
> (provide all)
>
> (define (func1 x y z) ...)
> (define (func2 x y) ...)
>
> ...
>
> )
>
> or (more often):
>
> (module foo mzscheme
> (provide all-but func1 func10 func99)
>
> (define (func1 x y z) ...)
> (define (func2 x y) ...)
>
> ...
>
> )
>
> This seems fully in keeping with the current syntax.
Yes. You mean `all-defined', right? (As oppposed to
`all-defined-and-imported'?)
> On a completely unrelated note, I've been going through the unit
> documentation, and this question occurred to me: how do you invoke a unit
> that is located in a different file?
I'm not sure I understand the question, but I expect that the answer is
the same as for the question "how do you call a function that is
located in a different file?"
Matthew