From: michel levy <michel.levy@imag.fr>
To: caml-list@inria.fr
Subject: camlp4 and dirac notation
Date: Mon, 19 Mar 2007 18:55:17 +0100 [thread overview]
Message-ID: <45FECE85.8080403@imag.fr> (raw)
I try to modify the ocaml syntax with camlp4 to add the Dirac notation
|v >.
Have you any solution ?
I have tried with
EXTEND
expr : LEVEL "simple"
[["|"; e=expr ;">" -> <:expr< ket $e$>>]
];
END;;
but I have the following message
|z>;;
^^
Parse error: [expr] expected after '>' (in [expr])
I can replace > by : but it is not the dirac notation.
Have you any idea ?
--
Michel Levy
L.S.R., Bureau C214, B.P.72 - 38402 SAINT MARTIN D'HERES CEDEX
e.mail : Michel.Levy@imag.fr tel :(33)476514022
http://www-lsr.imag.fr/users/Michel.Levy
next reply other threads:[~2007-03-19 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 17:55 michel levy [this message]
2007-03-19 20:04 ` [Caml-list] " Nicolas Pouillard
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=45FECE85.8080403@imag.fr \
--to=michel.levy@imag.fr \
--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