caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Chris King" <colanderman@gmail.com>
To: "Jean-Marie Gaillourdet" <jm@gaillourdet.net>
Cc: "O'Caml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Module type troubles
Date: Tue, 18 Jul 2006 09:24:56 -0400	[thread overview]
Message-ID: <875c7e070607180624i7fd15765lf74cb68ab66f4dc3@mail.gmail.com> (raw)
In-Reply-To: <3C1C2DED-FF8B-4C6C-ABD2-DDFEFF808967@gaillourdet.net>

On 7/18/06, Jean-Marie Gaillourdet <jm@gaillourdet.net> wrote:
> As far as I understand ML modules, the only way to achieve that is to
> capture your type variables with abstract types in separate modules,
> i.e. Foo and Bar have to get their type parameters as modules.

I was hoping to keep the functions polymorphic but it seems like
functors like you say are the best route... they'll probably end up
making my code cleaner anyway :P

Thanks,
Chris King


      parent reply	other threads:[~2006-07-18 13:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-18  4:31 Chris King
     [not found] ` <3C1C2DED-FF8B-4C6C-ABD2-DDFEFF808967@gaillourdet.net>
2006-07-18 13:24   ` Chris King [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=875c7e070607180624i7fd15765lf74cb68ab66f4dc3@mail.gmail.com \
    --to=colanderman@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=jm@gaillourdet.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;
as well as URLs for NNTP newsgroup(s).