News for hackers. Stuff that matters.
Re:The hunt for the missing data type by andoando on Monday March 04, 2024 @01:58PM (#39594447)
Ive been thinking about something like this. A mathematical definition of a function such that we can search it. Imagine we had something like "Find a function that fits this signature -> Input arr[numbers] out-> for every x in arr, x2>x1.
Re:The hunt for the missing data type by lupire on Monday March 04, 2024 @03:07PM (#39595320)
That's https://hoogle.haskell.org/ plus dependent types (data constraints).

Without human provided dependent typing, the search engine would be almost as hard to write as a system to directly generate the code you need.