News for hackers. Stuff that matters.
Re:In Further Praise of Dependent Types by fuoqi on Monday May 11, 2020 @08:26AM (#23141328)
>you can specify the 2-vectors on the unit circle as "{ (x,y) : x,y in R | x^2 + y^2 = 1 }"

Which is not possible for any language targeting real machines since floats have fixed precision.

Re:In Further Praise of Dependent Types by icen on Monday May 11, 2020 @10:43AM (#23142645)
You can specify the 2-vectors on the unit circle as "{ (x, y) : x, y in R | x^2 + y^2 - 1 < 0.000001 }" instead.