Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Bilirubino
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
Bilirubino
2y ago
As I commented above, Int32 and Int64 are part of the standard library since at least 4.X Ocaml versions (we are now in 5.3). So normally all them are available when you install any distribution of Ocaml. Note that there is also a type name
2.
▲
by
Bilirubino
2y ago
The modules Int64 and Int32 and part of the OCaml standard library. You mentioned that it is needed dune or Janestreet in your comments to have this functionality. They are part of the standard library. Really, they are part of Ocaml core d
3.
▲
by
Bilirubino
2y ago
The OCaml syntax was discussed a long time ago between the developers and the whole community and the agreement was that the community is happy with the current/original syntax. ReasonML was created for those developers more familiar w
4.
▲
by
Bilirubino
2y ago
In my case I have not found opam buggy at all, and I never find it confusing but this last point may be personal taste. The bug you commented is something I have never experimented with opam in linux or Mac OS and I am sure if you report th
5.
▲
by
Bilirubino
2y ago
The reason of F# guys did things different from OCaml is not because system-level programming but because F# is a language designed for the .NET ecosystem which imposes specific type constrains. F# language was not specifically designed for
6.
▲
by
Bilirubino
2y ago
The situation is that OCaml is giving you all the options: (a) int has 31 bits in 32-bit architectures and 63 in 64-bit architectures (which speed up some operations) (b) the standard library also provides Int32 and Int64 modules, which s