caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier@Theory.Stanford.EDU>
To: John.Harrison@cl.cam.ac.uk (John Harrison)
Cc: caml-list@pauillac.inria.fr
Subject: Re: Bug in equality testing?
Date: Mon, 21 Mar 1994 15:46:02 -0800 (PST)	[thread overview]
Message-ID: <9403212346.AA06369@Tamuz.Stanford.EDU> (raw)
In-Reply-To: <"swan.cl.cam.:202150:940320152434"@cl.cam.ac.uk> from "John Harrison" at Mar 20, 94 03:24:23 pm

> I've come across the following, which unless I am being stupid
> looks like a bug.

Yes, this is described as bug (1) in the file KNOWN-BUGS in the 0.6
distribution.

A simple workaround is to change the definition of the DEST function:
instead of

 let DEST = 
   fun (App p) -> p 
     | (Var _) -> failwith "DEST";;

write

 let DEST = 
   fun (App(x,y)) -> (x,y)
     | (Var _) -> failwith "DEST";;

Regards,

- Xavier Leroy




      parent reply	other threads:[~1994-03-22 10:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-20 15:24 John Harrison
1994-03-21 16:36 ` Vale'rie Me'nissier-Morain
1994-03-21 23:46 ` Xavier Leroy [this message]

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=9403212346.AA06369@Tamuz.Stanford.EDU \
    --to=xavier@theory.stanford.edu \
    --cc=John.Harrison@cl.cam.ac.uk \
    --cc=caml-list@pauillac.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;
as well as URLs for NNTP newsgroup(s).