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 PAA06512; Fri, 30 Aug 2002 15:20:54 +0200 (MET DST) 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 PAA06539 for ; Fri, 30 Aug 2002 15:20:53 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from post.webmailer.de (natpost.webmailer.de [192.67.198.65]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7UDKqD17718 for ; Fri, 30 Aug 2002 15:20:52 +0200 (MET DST) Received: from localhost.localdomain (pD9524CEA.dip.t-dialin.net [217.82.76.234]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id PAA29620; Fri, 30 Aug 2002 15:20:50 +0200 (MET DST) Received: (from david@localhost) by localhost.localdomain (8.11.6/8.11.6) id g7UD5pe06196; Fri, 30 Aug 2002 15:05:51 +0200 X-Authentication-Warning: localhost.localdomain: david set sender to dfrese@dfrese.de using -f Subject: Re: [Caml-list] Q: safe language From: David Frese To: SooHyoung Oh Cc: Caml-list In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 30 Aug 2002 15:05:51 +0200 Message-Id: <1030712751.1831.25.camel@pc-6> Mime-Version: 1.0 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, 2002-08-30 at 14:44, Vitaly Lugovsky wrote: > On Fri, 30 Aug 2002, SooHyoung Oh wrote: > > > I heard Ocaml is "safe" language. > > > > Some questions about "safe" language: > > - Is it necessary for a safe language to have a type system? I would say yes, and it definitely needs a strict type system (I guess there is no language without a type system at all). Strict means: every value has a precise type - which does not mean that there are no polymorphic types, or type conversions. > > - Isn't Lisp a safe language? In that respect Lisp is a safe language - or at least Scheme; I don't know that much about Lisp. But "safe" can be interpreted in a lot of other ways of course. > (cadr '(1)) This shows that Lisp is safe, because it results in an error, and does not return some value from out of nowhere (or does it). David. ------------------- 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