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: | 2007-04-30 (19:44) |
From: | Joel Reymont <joelr1@g...> |
Subject: | Re: Upgrading sexplib-2.7.0 to camlp4 3.10 |
let tuplify_exprs _loc = function | [] -> assert false | [expr] -> expr | exprs -> <:expr< ( $list:exprs$ ) >> This gives File "pa_sexp_conv.ml", line 61, characters 26-31: This expression has type Camlp4.PreCast.Syntax.Ast.expr list but is here used with type Camlp4.PreCast.Syntax.Ast.ident list Previously, I replaced $list:tys$ with $tup:tys$ in the ctyp context. What do I need to use above? Thanks, Joel -- http://wagerlabs.com/