caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: leary@nwlink.com
To: Hao-yang Wang <hywang@pobox.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Hitchhiker's Guide to Typing
Date: Fri, 8 Jun 2001 16:32:11 -0700	[thread overview]
Message-ID: <20010608163211.B15375@jean> (raw)
In-Reply-To: <200106082012.NAA05091@imap.filemaker.com>; from hywang@pobox.com on Fri, Jun 08, 2001 at 01:22:05PM -0700

On Fri, Jun 08, 2001 at 01:22:05PM -0700, Hao-yang Wang wrote:
> I think by "type theory" you mean the type systems used in modern 
> programming languages. Luca Cardelli has written some nice 
> tutorial/survey on this topic.
> 
> See <http://www.luca.demon.co.uk/Bibliography.html>. Look for the 
> articles "Typeful programming" and "Type systems".

Excellent resources (particularly the "Typeful" doc).  My thanks to you. :)

Seems to beg the questions tho': Is it not possible to learn and use OCaml
without wading through 60 page docs on typing?  Will I have to read more of
these papers to learn the object system?  Modules?

I'm willing to read up on typing, since it seems pretty important to
getting a good handle on FPLs/OCaml, and that's definitely what I'm after,
but I wonder (in advance) if 60 pages can't be turned into far fewer.  I'd
like some feedback on the notion that "if you can't explain it to a
five-year-old, you don't really understand it" (or, rather, haven't given
the simplest, most concise, most practically useful explanation).  By way
of a couple examples, the HHGTTG entry for Earth is "mostly harmless".
Investing can be distilled down to "buy low, sell high".  Not crashing a
motorcycle is a matter of "look where you want to go, don't look at the
ground".  No discussion of gyroscopic effects and psychology.  Of course,
a working knowledge of typing will never be so simple, but contrast, for
example, the "Type Systems" doc above; Table 34 is a good place to look.
This is not what 99.99% of people looking to understand typing in OCaml are
going to want.  If I didn't have a burning desire to learn OCaml/ML, and
someone gave me just this document (and thanks for including the other
one!) as a way of explaining the typing lingo, I'd give up and go back to
what I was doing before, assuming that OCaml was every bit as obscure,
difficult, and unrewarding as Unlambda:

http://www.eleves.ens.fr:8080/home/madore/programs/unlambda/


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-06-08 23:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08 20:22 Hao-yang Wang
2001-06-08 23:32 ` leary [this message]
2001-06-09  0:41   ` [Caml-list] " Joseph R. Kiniry
2001-06-11 16:43   ` [Caml-list] " Brian Rogoff
2001-06-11 18:22     ` Jonathan Coupe
2001-06-11 21:05       ` [Caml-list] " Joseph R. Kiniry
2001-06-11 21:19       ` [Caml-list] " David Fox

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=20010608163211.B15375@jean \
    --to=leary@nwlink.com \
    --cc=caml-list@inria.fr \
    --cc=hywang@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).