caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Roberto Di Cosmo <roberto@dicosmo.org>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: caml-list@yquem.inria.fr
Subject: Re: GADT examples: composable functions list (Was: Re: [Caml-list] Wanted: GADT examples: string length, counting module x)
Date: Thu, 22 Mar 2012 11:54:14 +0100	[thread overview]
Message-ID: <20120322105414.GD30016@voyager> (raw)
In-Reply-To: <062C697B60F0423CBF94220A63C44633@erratique.ch>

Hi Daniel,
  sure, never said you need, just that you can get away cheating
the type system.

But I need to show my students elegant and simple solutions:
I want to get more OCaml users around, not scare them off :-)

--Roberto




On Thu, Mar 22, 2012 at 10:46:33AM +0100, Daniel Bünzli wrote:
> 
> 
> Le jeudi, 22 mars 2012 à 10:28, Roberto Di Cosmo a écrit :
> 
> > Without GADT
> > ------------
> >  
> > One can get away cheating the type system and declaring the type
> You don't need to cheat the type system with Obj without GADT.
> 
> http://caml.inria.fr/pub/ml-archives/caml-list/2004/01/52732867110697f55650778d883ae5e9.en.html
> 
> Not to say that it's not involved, but it's possible.  
> 
> Best,
> 
> Daniel
> 
> 
> 

-- 
--Roberto Di Cosmo
 
------------------------------------------------------------------
Professeur               En delegation a l'INRIA
PPS                      E-mail: roberto@dicosmo.org
Universite Paris Diderot WWW  : http://www.dicosmo.org
Case 7014                Tel  : ++33-(0)1-57 27 92 20
5, Rue Thomas Mann       
F-75205 Paris Cedex 13   Identica: http://identi.ca/rdicosmo
FRANCE.                  Twitter: http://twitter.com/rdicosmo
------------------------------------------------------------------
Attachments:
MIME accepted, Word deprecated
      http://www.gnu.org/philosophy/no-word-attachments.html
------------------------------------------------------------------
Office location:
 
Bureau 6C08 (6th floor)
175, rue du Chevaleret, XIII
Metro Chevaleret, ligne 6
------------------------------------------------------------------                                                 

  reply	other threads:[~2012-03-22 10:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22  9:28 Roberto Di Cosmo
2012-03-22  9:46 ` Daniel Bünzli
2012-03-22 10:54   ` Roberto Di Cosmo [this message]
2012-03-22 14:31   ` Markus Mottl

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=20120322105414.GD30016@voyager \
    --to=roberto@dicosmo.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    /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).