News for hackers. Stuff that matters.
Re:Abusing the algebra of algebraic data types – why does th... by cvoss on Monday October 10, 2022 @01:49PM (#33154341)
The linked discussion is actually about performing calculus-like operations on type-theory types. (A natural next step after observing the similarities between algebraic types and algebra.) It's not about imposing a type system onto traditional calculus.
Re:Abusing the algebra of algebraic data types – why does th... by nh23423fefe on Monday October 10, 2022 @03:26PM (#33155459)
politest RTFA
Re:Abusing the algebra of algebraic data types – why does th... by keithalewis on Monday October 10, 2022 @08:47PM (#33158171)
I had a different read on that but I am familiar with the link to Haskell zippers. People seem to assume if someone wrote something about Haskell they must be smart. Their "derivative" of trees implicitly assumes the cartesian product A x B is isomorphic to B x A. Just like the Frechet derivative for non-commutative Banach spaces, the derivative of T^2 is not 2 T dT, it is T dT + dT T.