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.
[ Parent
| on HN ]
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.