Subject: Re: ML, CL or Scheme as an extension language
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 5 Jun 2001 02:43:13 GMT
Newsgroups: comp.lang.lisp
Message-ID: <9fhh01$e41j0$1@fido.engr.sgi.com>
Stephen J. Bevan <stephen_bevan@yahoo.com> wrote:
+---------------
| Marco Antoniotti <marcoxa@cs.nyu.edu> writes:
| > But CL does (* 3 1/12) right.  OCAML does not.
| 
| IMHO they both get it right in the context of their type system.
| You've made it clear you don't like the O'Caml answer but that doesn't
| mean it is wrong, any more than CL's type system is "wrong" for not
| being able to do (+ 1 array) out of the box.
+---------------

And what makes you think it can't?

	> (map 'vector #'1+ #(12 23 34))
	#(13 24 35)
	>


-Rob

-----
Rob Warnock, 31-2-510		<rpw3@sgi.com>
SGI Network Engineering		<URL:http://reality.sgi.com/rpw3/>
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA

[Note: Please don't use aaanalyst@sgi.com or zedwatch@sgi.com ]