* Followup: creating fresh objects of type 'self
@ 1999-04-10 0:15 Markus Mottl
0 siblings, 0 replies; only message in thread
From: Markus Mottl @ 1999-04-10 0:15 UTC (permalink / raw)
To: OCAML
There is probably no sensible answer to the question in my former mail:
In the case of parameterized classes it would be impossible to call a
constructor of type 'self (unknown number/type of parameters). Could
have thought about this faster... ;-)
Hm, I fear the only way to get the intended result without too much
effort is to restrict the interface of the self-object when it is passed
to another instance of its class...
Best regards,
Markus Mottl
--
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-04-12 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-10 0:15 Followup: creating fresh objects of type 'self Markus Mottl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox