Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
octachron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
octachron
7y ago
There are some change in the pipes that should make the syntax for slicing lighter in OCaml 4.10 by eliminating the need of the outermost [| |] or [ ]. For instance, let a = x.%{ [|2; 3; 4|] } x.%{ [|2; 3; 4|] } <- 111.
92.
▲
by
octachron
7y ago
There is a dry technical description at http://caml.inria.fr/pub/docs/manual-ocaml-4.08/manual046.ht... . And a more illustrative description at https://jobjo.github.io/2019/04/24&#x
93.
▲
by
octachron
7y ago
There were a handful of concomitant improvements: * The printing of error message has been improved to display the code source responsible of the error outside of the REPL. * Some probable beginner errors (like discarding a non-applied func
94.
▲
by
octachron
7y ago
The final state is a kind of thermal death where thermodynamics say that nothing happens anymore. However, thermodynamics is only an effective theory. It is false on tremendously large time scale: after a very very very large time a random
95.
▲
by
octachron
8y ago
No, records are nominally typed in OCaml, thus the two types `A` and `B` would be deemed incompatible.
96.
▲
by
octachron
8y ago
GCompris was originaly a GTK(Gnome) project, it migrated to Qt few years ago to make it easier to port it to tablet.
97.
▲
by
octachron
8y ago
Even ray tracing does not capture all physics of electromagnetism and only works at the level of geometrical optics: any effect, like diffraction or iridescence, that arises due to the wave-like nature of light still need to be implemented
98.
▲
by
octachron
8y ago
Abel-Ruffini theorem only speaks about general solution in term of elementary operations and nth-root, which is a very restricted form of solution. Numerically solving roots for generic polynomial is perfectly doable (and the nth-root alrea
99.
▲
by
octachron
9y ago
I agree that graphics programming has become more and more hostile to infrequent users over the years. Comparing the setup boilerplate needed to draw a triangle from OpenGL to Vulkan is just horrifying.
100.
▲
by
octachron
9y ago
No, OCaml has an object system, but it is an uncommonly used complement to the module system.
101.
▲
by
octachron
9y ago
> ω, which I’m prettying sure is the Greek abbreviation of “whatever” (zero or more times). Or it is the classical notation for the ordinal associated with the set of integers ℕ, aka any number of times.
102.
▲
by
octachron
10y ago
This is probably a false positive with merlin, that should not affect your code itself.