Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ambitious proposal: polymorphic arithmetics
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-04-06 (15:56)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ambitious proposal: polymorphic arithmetics
The problem, I'm guessing, is that you add polymorphic +, -, and so
on.  But that's really just a hack in the language.  Sooner or later
people are going to ask why it's not possible to write a polymorphic
'print' function, _without_ hacking the language some more.  At that
point you need a theory, and you need something like G'Caml, or type
classes, or GADTS.


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Team Notepad - intranets and extranets for business -