caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Blair Zajac <blair@orcaware.com>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: Alessandro Baretta <alex@baretta.com>, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Compiler killer code?
Date: Sun, 09 Jun 2002 11:08:19 -0700	[thread overview]
Message-ID: <3D039993.BB852B4F@orcaware.com> (raw)
In-Reply-To: <20020609154144.A30403@pauillac.inria.fr>

Xavier Leroy wrote:
> 
> >          Objective Caml version 3.04+13 (2002-06-05)
> >
> > # type t = t -> t ;;
> > type t = t -> t
> > # let rec f (x:t) = f f ;;
> > Interrupted.
> 
> This looks like a bug in the development version.  Without the
> -rectypes flag, the declaration of t should be rejected, like it is in
> OCaml 3.04.  Interestingly, the development version handles your
> example just fine when -rectypes is set.
> 
> A note to users of the development version: we appreciate your
> testing, but please keep the latest official release around to check
> weird behaviors, and when you observe a discrepancy like the above,
> report it to caml-bugs@inria.fr.

I think this points to something that should be considered for
future Ocaml development, that being a comprehensive test suite
to check the language.  This would also help test porting of the
language to new OSes.

All of the major compilers I can think of, Perl, Python, GCC, etc,
have a test suite and I think from a company's point of view looking
to use the language, a test suite written in Caml would give additional
credibility and a sense of professionalism that would only help
adoption rates.

A good model for the test suite would be Perl's test suite which checks
every aspect of the language and its modules and is written in Perl
itself.

Is there any interest in this?

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
-------------------
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


  reply	other threads:[~2002-06-09 18:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-08 14:32 Alessandro Baretta
2002-06-08 14:34 ` William Lee Irwin III
2002-06-08 18:30   ` William Lovas
2002-06-09 13:29   ` Alessandro Baretta
2002-06-09 13:41     ` Xavier Leroy
2002-06-09 18:08       ` Blair Zajac [this message]
2002-06-10 10:57         ` [Caml-list] " Michal Moskal
2002-06-12  8:37           ` Xavier Leroy
2002-06-10 15:25         ` [Caml-list] " Xavier Leroy
2002-06-10  2:42     ` Jacques Garrigue
2002-06-10  7:47       ` Alessandro Baretta

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=3D039993.BB852B4F@orcaware.com \
    --to=blair@orcaware.com \
    --cc=alex@baretta.com \
    --cc=caml-list@inria.fr \
    --cc=xavier.leroy@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;
as well as URLs for NNTP newsgroup(s).