Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Question one

1 view
Skip to first unread message

Danila

unread,
Jan 27, 1998, 3:00:00 AM1/27/98
to

I have a question about part (e): it says that we should implement some
thing similar to ( map list function).

I want to know what the interface for myMAP should be ( where myMAP will
be the function that we have to implement):
Is it (myMAP list ), assuming that the function "func" is already defined,
or is it (myMAP list func )?

The reason I'm asking this is because I spoke with a coleague in the cs442
class, and he said that (myMAP list ) is good enough.

Please confirm.

Thank you.
--
Daniel Herling, CS, U(W)
The 43rd Law of Computing:
When something can go wr
fortune: Segmentation Violation -- core dumped

Gordon V. Cormack

unread,
Jan 28, 1998, 3:00:00 AM1/28/98
to

In article <EnGt4...@undergrad.math.uwaterloo.ca>,

Danila <dher...@undergrad.math.uwaterloo.ca> wrote:
>
>I have a question about part (e): it says that we should implement some
>thing similar to ( map list function).
>
>I want to know what the interface for myMAP should be ( where myMAP will
>be the function that we have to implement):
>Is it (myMAP list ), assuming that the function "func" is already defined,
>or is it (myMAP list func )?
>
>The reason I'm asking this is because I spoke with a coleague in the cs442
>class, and he said that (myMAP list ) is good enough.

I'm not sure that I understand the phrasing of the questions. You can
substitute whatever you like in the blanks, so long as the overall
expression has the same result as (FORALL L F). That is, you can
substitute expressions involving L and F in either of the blanks.

G
--
Gordon V. Cormack CS Dept, University of Waterloo, Canada N2L 3G1
gvco...@uwaterloo.ca http://cormack.uwaterloo.ca/cormack

0 new messages