* [Caml-list] local modules in classes
@ 2002-05-01 8:46 Stefano Zacchiroli
0 siblings, 0 replies; only message in thread
From: Stefano Zacchiroli @ 2002-05-01 8:46 UTC (permalink / raw)
To: Inria Ocaml Mailing List
Hi OCamlers,
I'm wondering why I can't use a local definition of a module in a
class:
# class foo = let module P = Printf in object method foo = a end;;
Syntax error
Is there a soundness problem with the OCaml type system or is this
simply an unimplemented feature?
TIA,
Cheers.
--
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-01 8:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-01 8:46 [Caml-list] local modules in classes Stefano Zacchiroli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox