Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] 'b is unbound
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: briand@a...
Subject: [Caml-list] 'b is unbound

I'm getting the following error:

      method op :
        (float, 'a, 'b) Bigarray.Array2.t ->
        float array -> float array -> unit
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...


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: