[
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: | 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
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