caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] 'b is unbound
@ 2004-05-12  6:31 briand
  2004-05-12 11:43 ` Damien
  0 siblings, 1 reply; 4+ messages in thread
From: briand @ 2004-05-12  6:31 UTC (permalink / raw)
  To: caml-list


I'm getting the following error:

      method op :
        (float, 'a, 'b) Bigarray.Array2.t ->
        float array -> float array -> unit
    end
The method op has type
  (float, 'a, 'b) Bigarray.Array2.t -> float array -> float array -> unit
where 'b is unbound

Is 'b really unbound, or is the inferencer simply unable to figure out
what the type should be ?

I tried explicitly setting the type for the first argument, but could
not create a type which would not give me some sort of error, e.g.

method op (j: (float, Bigarray.float64, Bigarray.c_layout) Bigarray.Array2.t) ...

gives me an error :

Unbound type constructor Bigarray.float64

Any help appreciated...




Brian

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-13  2:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-12  6:31 [Caml-list] 'b is unbound briand
2004-05-12 11:43 ` Damien
2004-05-12 19:11   ` briand
2004-05-13  2:54   ` briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).