From: John Skaller <skaller@maxtal.com.au>
To: caml-list@inria.fr
Subject: recursive algebraic and class types
Date: Wed, 14 Jul 1999 11:38:52 +1000 [thread overview]
Message-ID: <3.0.6.32.19990714113852.00989890@mail.triode.net.au> (raw)
Someone recently posted a patch which allows class types
and algebraic types to be mixed in the same declaration,
so that they can be mutually recursive .. but I have lost
the email. Could I ask the patch be posted again?
Is there a simple workaround without the patch?
[I need something like
type expr_t = X | Y of class_t
class type class_t = object method lookup : expr_t -> expr_t end
]
BTW: when such changes to syntax are given, if applied they
will not be useful with camlp4 unless it too is patched. :-(
-------------------------------------------------------
John Skaller email: skaller@maxtal.com.au
http://www.maxtal.com.au/~skaller
phone: 61-2-96600850
snail: 10/1 Toxteth Rd, Glebe NSW 2037, Australia
reply other threads:[~1999-07-14 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3.0.6.32.19990714113852.00989890@mail.triode.net.au \
--to=skaller@maxtal.com.au \
--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