Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: caml-list@inria.fr
Subject: Re: fixed length arrays as types
Date: Wed, 8 Nov 2000 20:03:44 -0800	[thread overview]
Message-ID: <20001108200344.A24808@holomorphy.com> (raw)
In-Reply-To: <4.3.2.7.2.20001108090802.00bb9570@shell16.ba.best.com>; from checker@d6.com on Wed, Nov 08, 2000 at 09:20:18AM -0800

On Wed, Nov 08, 2000 at 09:20:18AM -0800, Chris Hecker wrote:
> I disagree about this.  It's really about type safety and strong
> typing.  You can catch a lot of errors if you can type the shape of
> the array (especially in numerical code).  Not only can you get rid
> of assert(size(array)==4) in every numerical function, but you can
> also safely get rid of runtime bounds checks in some cases (as Xi's
> work shows).  But, ignoring efficiency, I think the added type safety
> is a win.

You might want to check out fISH then. It is very Caml-ish.
http://www-staff.mcs.uts.edu.au/~cbj/FISh/
Dependent ML, Cayenne, and Coq may also be of interest to you.

Cheers,
Bill
-- 
<pan2:#math> when i was a kid i behaved like a polynomial
--



  reply	other threads:[~2000-11-09 18:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-05  3:06 Chris Hecker
2000-11-07  8:41 ` Judicael Courant
2000-11-07 13:28 ` Sven LUTHER
2000-11-07 17:00 ` Brian Rogoff
2000-11-08  9:53 ` Xavier Leroy
2000-11-08 17:20   ` Chris Hecker
2000-11-09  4:03     ` William Lee Irwin III [this message]
2000-11-09 21:53       ` Chris Hecker
2000-11-11 15:15   ` John Max Skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001108200344.A24808@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox