caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jamie Brandon <jamie@scattered-thoughts.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Limitations of first-class modules
Date: Fri, 21 Jan 2011 12:30:04 +0000	[thread overview]
Message-ID: <AANLkTimmnsC022N=xj-23TtKsHJ9RPdj9wydq68yU5Jm@mail.gmail.com> (raw)
In-Reply-To: <4D38791B.5070707@lexifi.com>

> There is a branch fstclassmod_parametrized in the SVN which allows more
> kinds of constraints; in particular, it allows constraints on parametrized
> types (module A with type 'a t1 = T1)
...
> This extension does not seem very useful to me in practice (because there is
> no polymorphism on type constructors in OCaml).

I was trying to do exactly that last week:

http://zheng.li/buzzlogs-ocaml/2011/01/13/irc.html

It allows working with abstract collections without using functors,
which is fairly useful.

      reply	other threads:[~2011-01-21 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 12:33 Lauri Alanko
2011-01-19 22:02 ` [Caml-list] Generative functors how? Lauri Alanko
2011-01-20  1:43 ` [Caml-list] Limitations of first-class modules Jacques Garrigue
2011-01-20 18:04 ` Alain Frisch
2011-01-21 12:30   ` Jamie Brandon [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='AANLkTimmnsC022N=xj-23TtKsHJ9RPdj9wydq68yU5Jm@mail.gmail.com' \
    --to=jamie@scattered-thoughts.net \
    --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;
as well as URLs for NNTP newsgroup(s).