You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3510 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Jeff Henrikson
Version: 3.08.1
OS: Linux
Submission from: rdcsd1.safeco.com (12.144.134.2)
I may be doing something wrong, but there seems to be broken behavior with
submodules having CamelCaps identifiers. (no pun intended!) For example, I can
use the construction ExtLib.List.map but not ExtLib.DynArray.create. Also the
module Foo = Amodule.CamelCaps constructions seems to break. I give some
examples below.
Jeff Henrikson
Objective Caml version 3.08.1
#directory "+site-lib/extlib";;
#load "extLib.cma";;
module List = ExtLib.List;; (* ok *)
module List :
sig
val init : int -> (int -> 'a) -> 'a list
...
end
module TwoCaps = ExtLib.List;; (* ok *)
module TwoCaps :
sig
val init : int -> (int -> 'a) -> 'a list
...
end
ExtLib.List.map;; (* ok *)
: ('a -> 'b) -> 'a list -> 'b list =
ExtLib.DynArray.create;; (* ??? *)
Characters 0-22:
ExtLib.DynArray.create;;
^^^^^^^^^^^^^^^^^^^^^^
Unbound value ExtLib.DynArray.create
Original bug ID: 3510
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Jeff Henrikson
Version: 3.08.1
OS: Linux
Submission from: rdcsd1.safeco.com (12.144.134.2)
I may be doing something wrong, but there seems to be broken behavior with
submodules having CamelCaps identifiers. (no pun intended!) For example, I can
use the construction ExtLib.List.map but not ExtLib.DynArray.create. Also the
module Foo = Amodule.CamelCaps constructions seems to break. I give some
examples below.
Jeff Henrikson
#directory "+site-lib/extlib";;
#load "extLib.cma";;
module List = ExtLib.List;; (* ok *)
module List :
sig
val init : int -> (int -> 'a) -> 'a list
...
end
module TwoCaps = ExtLib.List;; (* ok *)
module TwoCaps :
sig
val init : int -> (int -> 'a) -> 'a list
...
end
ExtLib.List.map;; (* ok *)
ExtLib.DynArray.create;; (* ??? *)
Characters 0-22:
ExtLib.DynArray.create;;
^^^^^^^^^^^^^^^^^^^^^^
Unbound value ExtLib.DynArray.create
module DynArray = ExtLib.DynArray;; (* ??? *)
Characters 18-33:
module DynArray = ExtLib.DynArray;;
^^^^^^^^^^^^^^^
Unbound module ExtLib.DynArray
open ExtLib;; (* ok *)
DynArray.set;; (* ok *)
The text was updated successfully, but these errors were encountered: