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 TAA06210; Mon, 2 Jul 2001 19:07:55 +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 TAA06240 for ; Mon, 2 Jul 2001 19:07:54 +0200 (MET DST) Received: from rocket.naverex.net (rocket.naverex.net [213.169.64.107]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f62H7mj12791 for ; Mon, 2 Jul 2001 19:07:50 +0200 (MET DST) Received: from mix.naverex.net (mix.naverex.net [213.169.64.99]) by rocket.naverex.net (8.Who.Cares/8.Who.Cares) with ESMTP id UAA35040 for ; Mon, 2 Jul 2001 20:07:40 +0300 (EEST) (envelope-from temofey@sit.kiev.ua) Received: from uni.net.ua (uni.naverex.kiev.ua [213.169.64.137] (may be forged)) by mix.naverex.net (8.Who.Cares/8.Who.Cares) with ESMTP id UAA76494 for ; Mon, 2 Jul 2001 20:07:36 +0300 (EEST) (envelope-from temofey@sit.kiev.ua) Received: from host-56.uni.net.ua [213.169.81.56] by uni.net.ua [213.169.81.1] with SMTP (MDaemon.v3.5.1.R) for ; Mon, 02 Jul 2001 20:06:26 +0400 Date: Mon, 2 Jul 2001 20:07:18 +0300 From: temofey X-Mailer: The Bat! (v1.39) Educational Reply-To: temofey Organization: linuxway X-Priority: 3 (Normal) Message-ID: <19838.010702@sit.kiev.ua> To: caml-list@inria.fr Subject: [Caml-list] About overloading( + +. and <) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDRemoteIP: 213.169.81.56 X-Return-Path: temofey@sit.kiev.ua X-MDaemon-Deliver-To: caml-list@inria.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello In O'Caml not present overloading. Because operators like "plus", "minus", "divide" and "multiple" is separate for Integers and Float. For Int they are "+","-","*" and "/", and for Float they are "+.", "-.", "*." and "/.". But compare operators like "<", ">" is the same for Integer, Float, String. Are they overload? Is this contradiction in terms? -- temofey temofey@sit.kiev.ua ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr