English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-05-12 (06:31)
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 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