modcaml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Modcaml] trouble building cocanwiki


From: Eric Stokes
Subject: Re: [Modcaml] trouble building cocanwiki
Date: Tue, 13 Dec 2005 08:46:37 -0800

This was solved by using the cvs version of ocamldbi.

With the current stable version of ocamldbi (for your edification),
Annotating results in learning that big_int has changed to Int64.t, which, if changed throughout results in something which will build, but yeilds an unhanded exception Invalid_argument("Dbi.fetch1int") when saving a page edit.

On Dec 12, 2005, at 12:33 PM, Christophe TROESTLER wrote:

On Mon, 12 Dec 2005, Eric Stokes <address@hidden> wrote:

Values do not match:
   val create_host :
     < prepare_cached : string ->
                        < execute : ([> `Bool of 'b
                                      | `Int of int
                                      | `Null
                                      | `String of 'c ]
                                     as 'a)
                                    list -> unit;
fetch1 : unit -> 'a list; finish : unit - > 'd;
                          names : string list; serial : string ->
int64; .. >;
       .. > ->
     'c -> 'c list -> int -> 'c -> 'c -> 'c -> 'b -> 'c option -> int

May you annotate the first argument of [create_host] so the problem
appears more clearly ?

  let create_host (dbh:Dbi.connection) ...

ChriS


_______________________________________________
Modcaml mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/modcaml





reply via email to

[Prev in Thread] Current Thread [Next in Thread]