From: Dmitry Grebeniuk <gdsfh1@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] ocaml, objects, classes, type ascription, virtual methods
Date: Mon, 23 May 2011 13:25:43 +0300 [thread overview]
Message-ID: <BANLkTikUpdkkWDAFQ98TO-zU9db+nVwA+w@mail.gmail.com> (raw)
In-Reply-To: <6966A071-C6AB-4549-A7AD-E58A4067D6CA@math.nagoya-u.ac.jp>
Hello.
>> Is it the expected behaviour?
>
> It is indeed the expected behaviour.
[...]
> class ext = object (_ : #base) method m = () end
Thank you for the answer. I'll choose this option --
it types, it works, it does not require explicit class type.
prev parent reply other threads:[~2011-05-23 10:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 7:50 Dmitry Grebeniuk
2011-05-23 8:29 ` Matthieu Dubuget
2011-05-23 8:40 ` Dmitry Grebeniuk
2011-05-23 9:08 ` Lauri Alanko
2011-05-23 9:21 ` Dmitry Grebeniuk
2011-05-23 10:11 ` Jacques Garrigue
2011-05-23 10:25 ` Dmitry Grebeniuk [this message]
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=BANLkTikUpdkkWDAFQ98TO-zU9db+nVwA+w@mail.gmail.com \
--to=gdsfh1@gmail.com \
--cc=caml-list@inria.fr \
/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