From: skaller <skaller@ozemail.com.au>
To: caml-list@inria.fr
Subject: [Caml-list] version 7 beta typing change?
Date: 09 Aug 2003 12:03:03 +1000 [thread overview]
Message-ID: <1060394583.12630.4.camel@localhost.localdomain> (raw)
Code that compiled on 3.06 doesn't work on 3.07 beta1.
Is this a bug in the old typing, in the new typing, or what?
File "lpsrc/flx_types.ipk", line 532, characters 20-42:
Constraints are not satisfied in this type.
Type 'a b0typecode_t' as 'a should be an instance of 'b b0typecode_t'
type bid_t = int
(** value typing *)
type 't b0typecode_t' =
[
| `BTYP_name of bid_t
| `BTYP_inst of bid_t * 't list
| `BTYP_tuple of 't list
| `BTYP_sum of 't list
| `BTYP_function of 't * 't
| `BTYP_pointer of 't
| `BTYP_void
| `BTYP_binding of 't * 't
| `BTYP_fix of int
| `BTYP_var of int
]
(** meta typing *)
type 't b1typecode_t' =
[
| `BTYP_apply of 't * 't
| `BTYP_typefun of (int * 't) list * 't * 't
| `BTYP_type
| `BTYP_type_tuple of 't list
]
(** general typing *)
type 't btypecode_t' =
[
| 't b0typecode_t'
| 't b1typecode_t'
]
type b0typecode_t = 't b0typecode_t' as 't (* THIS IS LINE 532 *)
type btypecode_t = 't btypecode_t' as 't
-------------------
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
next reply other threads:[~2003-08-09 2:03 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-09 2:03 skaller [this message]
2003-08-09 12:10 ` Jacques Garrigue
2003-08-09 16:15 ` skaller
2003-08-09 16:33 ` [Caml-list] Tcl/Tk and RH 9 skaller
2003-08-09 16:59 ` Matt Gushee
2003-08-10 15:57 ` Eray Ozkural
2003-08-10 20:18 ` skaller
2003-08-10 1:43 ` [Caml-list] " Jacques Garrigue
2003-08-10 1:53 ` Alexander V. Voinov
2003-08-10 21:26 ` skaller
2003-08-10 23:15 ` Eray Ozkural
2003-08-10 23:24 ` Eray Ozkural
2003-08-11 0:41 ` Matt Gushee
2003-08-11 1:20 ` Eray Ozkural
2003-08-11 2:02 ` skaller
2003-08-11 8:38 ` Sven Luther
2003-08-11 9:41 ` Christoph Bauer
2003-08-10 20:15 ` skaller
2003-08-11 9:17 ` Christoph Bauer
2003-08-12 4:14 ` skaller
2003-08-10 22:11 ` [Caml-list] " Olivier Andrieu
2003-08-10 22:45 ` Matt Gushee
2003-08-10 23:16 ` Eray Ozkural
2003-08-11 1:33 ` skaller
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=1060394583.12630.4.camel@localhost.localdomain \
--to=skaller@ozemail.com.au \
--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