Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Christian Lindig <lindig@cs.uni-sb.de>
To: padator@wanadoo.fr
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] possible to define a type where = is forbidden ?
Date: Mon, 10 Oct 2005 15:18:28 +0200	[thread overview]
Message-ID: <fb9d68fbc7f9deba9bc9f01693c312f0@cs.uni-sb.de> (raw)
In-Reply-To: <3133367.1128947557941.JavaMail.www@wwinf1521>


On Oct 10, 2005, at 2:32 PM, yoann padioleau wrote:

> I am making a program analysis tool  and in my AST I had previously  
> tokens represented as strings,
> but now I want also to associate the line numbers of those strings.

I like to suggest a different technique that does not require to change  
the representation of all branches in an AST. You can find it in an  
earlier posting here:

http://caml.inria.fr/pub/ml-archives/caml-list/2003/09/ 
f81c8063ed4878e06f1ddd8010256050.en.html

The posting is part of a thread that also discusses some disadvantages.

-- Christian


  reply	other threads:[~2005-10-10 13:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-10 12:32 yoann padioleau
2005-10-10 13:18 ` Christian Lindig [this message]
2005-10-10 13:42 [Caml-list] " yoann padioleau
2005-10-10 15:04 ` Thomas Fischbacher

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=fb9d68fbc7f9deba9bc9f01693c312f0@cs.uni-sb.de \
    --to=lindig@cs.uni-sb.de \
    --cc=caml-list@inria.fr \
    --cc=padator@wanadoo.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