From: Don Syme <dsyme@microsoft.com>
To: caml-list@inria.fr
Subject: arrays and type variables...
Date: Wed, 25 Nov 1998 05:57:03 -0800 [thread overview]
Message-ID: <39ADCF833E74D111A2D700805F1951EF0B2EF63B@RED-MSG-06> (raw)
Shouldn't "[| [] |]" count as a value??
bash$ ocaml
Objective Caml version 2.00
# let x = [| [] |];;
val x : '_a list array = [|[]|]
# let x = [];;
val x : 'a list = []
# let x = [| |];;
val x : 'a array = [||]
#
Cheers,
Don
next reply other threads:[~1998-11-26 15:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-25 13:57 Don Syme [this message]
1998-11-26 15:33 ` Pierre Weis
1998-11-26 16:03 ` Andreas Rossberg
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=39ADCF833E74D111A2D700805F1951EF0B2EF63B@RED-MSG-06 \
--to=dsyme@microsoft.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