Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Andrew Conway <arc@wildtype.Stanford.EDU>
To: caml-list@pauillac.inria.fr
Subject: O'Caml & modules
Date: Fri, 10 May 1996 17:16:38 -0700 (PDT)	[thread overview]
Message-ID: <199605110016.RAA24934@wildtype.Stanford.EDU> (raw)



Thanks for O'caml. I haven't had a chance to try it yet,
but the type system looks both interesting and useful.

Remember a while back we were having a discussion on the merits
of allowing local module definitions? It appears to me that these
are very very similar to the constructor of an object.

Does this mean that the infrastructure necessary to add
local module definitions is already partially in place? If so,
it could be a useful addition (although arugably one could just
use an object instead of a module, but it is aesthetically unpleasing.

One might want, for instance, a module giving packed-n-bit
vectors, where n is a parameter to a multiply called
function. One would then use an object to refer to a specific
bit vector, using a function from the above mentioned module,
which may get a little messy.

Anyway, I just thought this would be a good idea to re-bring
up this thread.

Thanks again,

Andrew.





                 reply	other threads:[~1996-05-13  7:54 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=199605110016.RAA24934@wildtype.Stanford.EDU \
    --to=arc@wildtype.stanford.edu \
    --cc=caml-list@pauillac.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