From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA23233; Fri, 6 Jun 2003 09:08:53 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA23366 for ; Fri, 6 Jun 2003 09:08:52 +0200 (MET DST) Received: from dewberry.cc.columbia.edu (dewberry.cc.columbia.edu [128.59.59.68]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5678oT27031 for ; Fri, 6 Jun 2003 09:08:50 +0200 (MET DST) Received: from tw304h3.cpmc.columbia.edu (tw304h3.cpmc.columbia.edu [156.111.84.180]) (user=ot14 mech=LOGIN bits=0) by dewberry.cc.columbia.edu (8.12.8p1/8.12.8) with ESMTP id h5678mrI025985 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Fri, 6 Jun 2003 03:08:49 -0400 (EDT) From: Oleg Trott To: John Max Skaller , "caml-list@inria.fr" Subject: easy print and read (was: [Caml-list] Why are arithmetic functions not polymorph?) Date: Fri, 6 Jun 2003 03:08:42 -0400 User-Agent: KMail/1.5.1 References: <3EDC152C.5070906@ozemail.com.au> In-Reply-To: <3EDC152C.5070906@ozemail.com.au> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 7bit Message-Id: <200306060308.42724.oleg_trott@columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.32 (www . roaringpenguin . com / mimedefang) X-Spam: no; 0.00; oleg:01 caml-list:01 g'caml:01 overloading:01 arithmetic:01 overload:03 wrote:03 object:03 functions:05 define:05 max:06 solve:07 john:09 computers:89 think:11 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Monday 02 June 2003 11:25 pm, John Max Skaller wrote: > Another needed overload is 'print' (to print some > representation of a value which might be used in > a diagnostic). I don't think simple overloading will solve the print/read issue to my personal satisfaction. In G'Caml, one will still have to define these functions by hand, right? As someone said, "I object to doing what computers can do". -- Oleg Trott ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners