From: Issac Trotts <ijtrotts@ucdavis.edu>
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Delegation
Date: Tue, 30 Mar 2004 19:57:57 -0800 [thread overview]
Message-ID: <20040331035757.GA24644@mev> (raw)
In-Reply-To: <1080724695.13269.156.camel@pelican.wigram>
> Hmmm.. can I write:
>
> (fun o -> object method f: init = o#g end)#f
>
> given o has a method g of suitable type but wrong name?
In the CVS version of OCaml, you can make objects of anonymous
class. Have a look at
http://caml.inria.fr/archives/200402/msg00164.html
--
Issac Trotts
-------------------
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
next prev parent reply other threads:[~2004-03-31 10:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 9:18 skaller
2004-03-31 3:57 ` Issac Trotts [this message]
2004-03-31 13:16 ` skaller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040331035757.GA24644@mev \
--to=ijtrotts@ucdavis.edu \
--cc=caml-list@inria.fr \
--cc=skaller@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox