From: "Benedikt Grundmann" <benedikt@cardexpert.net>
To: "David MENTRE" <dmentre@linux-france.org>
Cc: oleg@pobox.com, caml-list@inria.fr, Andrej.Bauer@fmf.uni-lj.si
Subject: Re: [Caml-list] Design-by-contract and Type inference?
Date: Sun, 4 Feb 2007 17:04:56 +0100 [thread overview]
Message-ID: <9b415f950702040804o3a118512j112263536d1e0589@mail.gmail.com> (raw)
In-Reply-To: <87fy9lhql7.fsf@linux-france.org>
[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]
Hello
Well a lot of the stuff you express with DBC can be expressed using
dependent types (Array indices are a popular example). You should take that
in account in your search for papers (If I recall correctly there are quite
a few papers on combining dependent types and (at the very least
partial/local) type inference).
Cheers,
Bene
2007/2/4, David MENTRE <dmentre@linux-france.org>:
>
> Hello Oleg,
>
> oleg@pobox.com writes:
>
> > @Book{ barnes-high,
> > author = "John Barnes",
> > title = "High Integrity Software:
> > The {SPARK} Approach to Safety and Security",
> [...]
> > @TechReport{ hunt-singularity,
> > author = "Galen Hunt and James R. Larus and Mart{\'\i}n Abadi and
> > Mark Aiken and Paul Barham and Manuel F{\"a}hndrich and
> > Chris Hawblitzel and Orion Hodson and Steven Levi and
> > Nick Murphy and Bjarne Steensgaard and David Tarditi and
> > Ted Wobber and Brian D. Zill",
> > title = "An Overview of the {S}ingularity Project",
>
> Thank you for those interesting pointers. Interestingly both Spark
> language and Sing# language used in Singularity contains
> Design-by-Contract-like features (pre- and post-conditions, invariants,
> ...).
>
> Does anybody know if there is research on design-by-contract (as used in
> Eiffel or Spark) and type inference (as used in OCaml)? For example,
> relationships between both mechanisms, how the compiler could infer
> contracts for a sub-class of a class, how contracts can be maintained
> with minimal work from the programmer (a very useful property of ML type
> inference), how contract can be statically checked using type inference
> information, etc.
>
> Best wishes,
> d.
> --
> GPG/PGP key: A3AD7A2A David MENTRE <dmentre@linux-france.org>
> 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
[-- Attachment #2: Type: text/html, Size: 3518 bytes --]
next prev parent reply other threads:[~2007-02-04 16:04 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 5:04 Programming with correctness guarantees oleg
2007-02-01 8:45 ` Andrej Bauer
2007-02-01 13:00 ` [Caml-list] " Chris King
2007-02-01 20:39 ` Jean-Christophe Filliatre
2007-02-01 13:07 ` [Caml-list] " Joshua D. Guttman
2007-02-01 20:12 ` Jean-Christophe Filliatre
2007-02-01 20:35 ` Robert Fischer
2007-02-01 20:57 ` Jean-Christophe Filliatre
2007-02-02 5:47 ` skaller
2007-02-01 20:43 ` Jacques Carette
2007-02-02 0:38 ` Bob Williams
2007-02-02 14:09 ` Jean-Christophe Filliatre
2007-02-03 8:09 ` Tom
2007-02-04 15:47 ` Design-by-contract and Type inference? David MENTRE
2007-02-04 16:04 ` Benedikt Grundmann [this message]
2007-02-04 16:35 ` [Caml-list] " Kenn Knowles
2007-02-06 9:29 ` Hendrik Tews
2007-02-06 20:45 ` Oliver Bandel
2007-02-06 21:35 ` Alwyn Goodloe
2007-02-06 21:50 ` Jacques Carette
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=9b415f950702040804o3a118512j112263536d1e0589@mail.gmail.com \
--to=benedikt@cardexpert.net \
--cc=Andrej.Bauer@fmf.uni-lj.si \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
--cc=oleg@pobox.com \
/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).