The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: fa.caml
From: "Jonathan Roewen" <jonathan.roe...@gmail.com>
Date: Wed, 28 Jun 2006 23:54:04 UTC
Local: Wed, Jun 28 2006 7:54 pm
Subject: Re: [Caml-list] Question on Variant Types
> Followup question: let f (x : foo) : bar = match x with > Given I have: > type foo = [`A | `B of int | `C of char] > type bar = [`B of int | `C of char| `D] > and a function > Is there any way to properly coerce this using the restricted variant | `A -> `D | `B _ | `C _ as x -> (x : bar) Jonathan _______________________________________________ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||