arrays and type variables...

From: Don Syme (dsyme@microsoft.com)
Date: Wed Nov 25 1998 - 14:57:03 MET


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

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



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:17 MET