Quantcast
Channel: Active questions tagged ocaml - Stack Overflow
Viewing all articles
Browse latest Browse all 527

Ocaml extlib-1.4 installation

$
0
0

I've tried to install extlib-1.4 but got an error(i'm noob)I typed ocaml install.ml and got:

File "bitSet.ml", line 23, characters 40-53:23 | let bcreate : int -> intern = Obj.magic String.create                                             ^^^^^^^^^^^^^Alert deprecated: Stdlib.String.createUse Bytes.create/BytesLabels.create instead.File "bitSet.ml", line 28, characters 64-75:28 | let fast_fill : intern -> int -> int -> int -> unit = Obj.magic String.fill                                                                     ^^^^^^^^^^^Alert deprecated: Stdlib.String.fillUse Bytes.fill/BytesLabels.fill instead.ocamlc -c dynArray.mlocamlc -c extHashtbl.mlFile "extHashtbl.ml", line 1:Error: The implementation extHashtbl.ml       does not match the interface extHashtbl.cmi:  ... In module Hashtbl:       Values do not match:         val create : ?random:bool -> int -> ('a, 'b) t       is not included in         val create : int -> ('a, 'b) t       File "extHashtbl.mli", line 76, characters 1-31: Expected declaration       File "hashtbl.mli", lines 31-32, characters 0-30: Actual declarationExit Code 2 - Stopped

I don't understand why ocaml pays attention to String.create and String.fillI don't know why it doesn't implement extHashtbl.mlI need that exact version of findlib for RLDev, but it looks like it's too old for ocaml(or this version of ocaml just doesn't fit)


Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>