Browse thread
Upgrading sexplib-2.7.0 to camlp4 3.10
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Joel Reymont <joelr1@g...> |
| Subject: | Re: Upgrading sexplib-2.7.0 to camlp4 3.10 |
What does this match? I assume that $list...$ is a list but the dot
in the middle throws me off.
| <:ctyp< ! $list:parms$ . $tp$ >> -> poly _loc parms tp
Is this a good translation?
| <:ctyp< ! $id:id$ >> ->
(match id with
| <:ident< $list:params$ . $tp$ >> ->
poly _loc parms tp
| _ -> failwith "fold_tp: unknown type")
Thanks, Joel
--
http://wagerlabs.com/